AUC calculation

Calculation of AUC by selected method. Same methods as in Winnonlin are implemented: "Linear Log", "LinearUp LogDown", "Linear LinearInterpolation", "Linear LinearLogInterpolation" The "Trapezoidal" dose not appear in the name of the method to make it shorter.

AUC_IQnca(x, y, AUCMETHD = "Linear Log", TMAX = NULL, last = TRUE)

Arguments

x

time or similar vector

y

concentration or similar vector

AUCMETHD

Defines AUC calculation method. "Linear Log", "LinearUp LogDown", "Linear LinearInterpolation", "Linear LinearLogInterpolation"

TMAX

TMAX can be provided. If not provided Tmax will be assumed to be included in the provided data and can be determined. Otherwise TMAX can be provided.

last

if TRUE only return last value

Value

A list with entry for AUC and AUMC. Either a scalar (last) or a vector (all values)