as_sparse_pk {PKNCA}R Documentation

Generate a sparse_pk object

Description

Generate a sparse_pk object

Usage

as_sparse_pk(conc, time, subject)

Arguments

conc

Concentration measurements (must be numeric, finite, and not NA)

time

Time of concentration measurements (must be numeric, finite, and not NA)

subject

Subject identifiers (may be any class; may not be null)

Value

A sparse_pk object which is a list of lists. The inner lists have elements named: "time", The time of measurement; "conc", The concentration measured; "subject", The subject identifiers. The object will usually be modified by future functions to add more named elements to the inner list.

See Also

Other Sparse Methods: pk.calc.sparse_auc(), sparse_auc_weight_linear(), sparse_mean()


[Package PKNCA version 0.10.2 Index]