as_sparse_pk: Generate a sparse_pk object

View source: R/sparse.R

as_sparse_pkR 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()


PKNCA documentation built on April 30, 2023, 1:08 a.m.