The AUC is calculated as:
pk.calc.sparse_auc(
conc,
time,
subject,
method = NULL,
auc.type = "AUClast",
...,
options = list()
)pk.calc.sparse_auclast(conc, time, subject, ..., options = list())
Measured concentrations
Time of the measurement of the concentrations
Subject identifiers (may be any class; may not be null)
The method for integration (one of 'lin up/log down', 'lin-log', or 'linear')
The type of AUC to compute. Choices are 'AUCinf', 'AUClast', and 'AUCall'.
For functions other than pk.calc.auxc
, these values are passed
to pk.calc.auxc
List of changes to the default PKNCA options (see
PKNCA.options()
)
pk.calc.sparse_auclast()
: Compute the AUClast for sparse PK
$$AUC=\sum\limits_{i} w_i \bar{C}_i$$
Where:
is the estimated area under the concentration-time curve
is the weight applied to the concentration at time i (related to the time which it affects, see sparse_auc_weight_linear()
)
is the average concentration at time i
Other Sparse Methods:
as_sparse_pk()
,
sparse_auc_weight_linear()
,
sparse_mean()