Learn R Programming

PKNCA (version 0.10.0)

as_sparse_pk: Generate a sparse_pk object

Description

Generate a sparse_pk object

Usage

as_sparse_pk(conc, time, subject)

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.

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)

See Also

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