PKNCAdata() combines PKNCAconc and PKNCAdose objects and adds in the
intervals for PK calculations.
Usage
PKNCAdata(data.conc, data.dose, ...)
# S3 method for class 'PKNCAconc'
PKNCAdata(data.conc, data.dose, ...)
# S3 method for class 'PKNCAdose'
PKNCAdata(data.conc, data.dose, ...)
# Default S3 method
PKNCAdata(
data.conc,
data.dose,
...,
formula.conc,
formula.dose,
impute = NA_character_,
intervals,
units,
options = list()
)Arguments
- data.conc
Concentration data as a
PKNCAconcobject or a data frame- data.dose
Dosing data as a
PKNCAdoseobject (see details)- ...
arguments passed to
PKNCAdata.default- formula.conc
Formula for making a
PKNCAconcobject withdata.conc. This must be given ifdata.concis a data.frame, and it must not be given ifdata.concis aPKNCAconcobject.- formula.dose
Formula for making a
PKNCAdoseobject withdata.dose. This must be given ifdata.doseis a data.frame, and it must not be given ifdata.doseis aPKNCAdoseobject.- impute
Methods for imputation.
NAfor to search for the column named "impute" in the intervals or no imputation if that column does not exist, a comma-or space-separated list of names, or the name of a column in theintervalsdata.frame. Seevignette("v08-data-imputation", package="PKNCA")for more details.- intervals
A data frame with the AUC interval specifications as defined in
check.interval.specification(). If missing, this will be automatically chosen bychoose.auc.intervals(). (see details)- units
A data.frame of unit assignments and conversions as created by
pknca_units_table()- options
List of changes to the default PKNCA options (see
PKNCA.options())
Value
A PKNCAdata object with concentration, dose, interval, and calculation options stored (note that PKNCAdata objects can also have results after a NCA calculations are done to the data).
Details
If data.dose is not given or is NA, then the intervals must be
given. At least one of data.dose and intervals must be given.
See also
choose.auc.intervals(), pk.nca(), pknca_units_table()
Other PKNCA objects:
PKNCAconc(),
PKNCAdose(),
PKNCAresults()