sparse_auc_weight_linear {PKNCA} | R Documentation |
Calculate the weight for sparse AUC calculation with the linear-trapezoidal rule
Description
The weight is used as the parameter in
pk.calc.sparse_auc()
Usage
sparse_auc_weight_linear(sparse_pk)
Arguments
sparse_pk |
A sparse_pk object from |
Details
Where:
is the weight at time i
and
are the changes between time i-1 and i or i and i+1 (zero outside of the time range)
is the time at time i
Value
A numeric vector of weights for sparse AUC calculations the same
length as sparse_pk
See Also
Other Sparse Methods:
as_sparse_pk()
,
pk.calc.sparse_auc()
,
sparse_mean()
[Package PKNCA version 0.11.0 Index]