Calculate AUCt-inf
auc_inf(idv, dv, last_points = c(3, 4, 5), na.rm = TRUE)
idv | column name for independent variable such as time |
---|---|
dv | column name for dependent variable such as concentration |
last_points | vector of amount of points in terminal phase that will be evaluated for extrapolation |
na.rm | remove any NAs from the idv/dv column before calculating AUC |
last_points defaults to 3, 4, 5 see auc_partial for other details