R/sparse.R
sparse_mean.Rd
Choices for the method of calculation (the argument sparse_mean_method
)
are:
sparse_mean(
sparse_pk,
sparse_mean_method = c("arithmetic mean, <=50% BLQ", "arithmetic mean")
)
A sparse_pk object from as_sparse_pk()
The method used to calculate the sparse mean (see details)
A vector the same length as sparse_pk
with the mean concentration
at each of those times.
Arithmetic mean (ignoring number of BLQ samples)
If >= 50% of the measurements are BLQ, zero. Otherwise, the arithmetic mean of all samples (including the BLQ as zero).
Other Sparse Methods:
as_sparse_pk()
,
pk.calc.sparse_auc()
,
sparse_auc_weight_linear()