Run an NCA on superpositioned data, either just extrapolated to steady state for the current dose levels, or using linear extrapolation to a different dose and interval.
run_nca_superposition.RdRun an NCA on superpositioned data, either just extrapolated to steady state for the current dose levels, or using linear extrapolation to a different dose and interval.
Arguments
- data
dataset in pre-parse format, preferrably created using
create_nca_data(). Can also be a NONMEM-style dataset with EVID=0|1 column indicating PK an dosing data.- dose_data
optional, a data.frame with all dosing info. Useful for multi-dose NCAs. Alternative to specifying a NONMEM-style datasett to
data.- regimen
a list that specifies at least the
interval, and potentiallydose. E.g.list(interval = 8)to calculate steady state concentration data using superposition. If adoseis also specified, it will scale the superposition data linearly compared to the original inputdose, e.g.list(dose = 500, interval = 12).- dictionary
abridged data dictionary for the input dataset, specified as list object. Requires at least entries for
subject_id,time,conc,dose. Optional entries are:visit,route, andduration.routeshould be a column in the dose data with the route of administration (e.g. "IV", "intravenous", "oral"); intravenous routes are mapped to PKNCA's "intravascular", all others to "extravascular".durationshould be a column with the dose duration (0 for bolus). Doses with an intravascular route and zero duration are treated as IV bolus (see Imputation below). If required entries are specified only partially, then default values (i.e. CDISC) nomenclature will be imputed for missing identifiers.- parameters
description...
- groups
optional grouping variable, e.g.
ACTARM.- verbose
verbose output?