Get AUC from a simulation
calc_auc_from_sim.RdGet AUC from a simulation
Arguments
- sim_output
 output of a
PKPDsim::simcall- auc_comp
 auc compartment
- extract_time
 time points for AUC12 or 24 to extract
- target_type
 type of AUC target in
c("auc24", "auc12", "cum_auc").
Value
calc_auc_from_sim returns a numeric vector of AUCs between each
simulated time point. Control time period over which AUC should be
calculated using target_time argument to PKPDsim::sim.