Calculate the area under the curve (AUC) for each subject over the time interval for dependent variables (dv
) using the trapezoidal rule.
Source: R/get_auc.R
get_auc.Rd
Calculate the area under the curve (AUC) for each subject over the time interval for dependent variables (dv
) using the trapezoidal rule.
Value
A data frame containing one AUC value for every subject as defined by id
.
Based on the AUC
function originally written by Leonid Gibiansky in package MIfuns 5.1, from Metrum Institute.
Author
Leonid Gibiansky, lgibiansky@quantpharm.com