AUC_IQnca: AUC calculation

View source: R/allCode.R

AUC_IQncaR Documentation

AUC calculation

Description

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.

Usage

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)


Quantmetrics770/IQnca documentation built on Aug. 5, 2022, 5:39 p.m.