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