Skip to contents

Get AUC from a simulation

Usage

calc_auc_from_sim(sim_output, auc_comp)

Arguments

sim_output

output of a PKPDsim::sim call

auc_comp

auc compartment

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.