| pk.calc.sparse_auc | R Documentation |
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())
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 |
options |
List of changes to the default PKNCA options (see
|
AUC=\sum\limits_{i} w_i \bar{C}_i
Where:
AUCis the estimated area under the concentration-time curve
w_iis the weight applied to the concentration at time i (related to the time which it affects, see sparse_auc_weight_linear())
\bar{C}_iis the average concentration at time i
pk.calc.sparse_auclast(): Compute the AUClast for sparse PK
Other Sparse Methods:
as_sparse_pk(),
sparse_auc_weight_linear(),
sparse_mean()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.