The R function pk.calc.cav() seems to use the AUClast for the calculation, which is an issue for me when the data have some BLQ points.
function (auc, start, end)
{
ret <- auc/(end - start)
mask_zero <- is.na(end) | is.na(start) | end == start
if (any(mask_zero)) {
ret[mask_zero] <- NA_real_
}
ret
}
I am wondering if there is a function to use the AUCall for the calculation of Cave. AUClast can underestimate the Cave since it does not include the AUC from the last >LLOQ point to zero concentration data point over the specified interval.
