Support function for AUC integration
auc_integrate(
conc,
time,
clast,
tlast,
lambda.z,
interval_method,
fun_linear,
fun_log,
fun_inf
)
Measured concentrations
Time of the measurement of the concentrations
The last concentration above the limit of quantification
Time of last concentration above the limit of quantification (will be calculated, if not provided)
The elimination rate (in units of inverse time) for extrapolation
The method for integrating each interval of conc
The function to use for integration of the linear part of the curve (not required for AUC or AUMC functions)
The function to use for integration of the logarithmic part of the curve (if log integration is used; not required for AUC or AUMC functions)
The function to use for extrapolation from the final measurement to infinite time (not required for AUC or AUMC functions.