system_nca_run: Automatic NCA

Description Usage Arguments

View source: R/ubiquity.r

Description

Performs NCA in an automated fashion subsetting the data using muleiple criteria

Usage

1
2
3
system_nca_run(cfg, DSNAME = "PKDS", dscale = 1, ssby = list(id = c(1, 2,
  3), dose_number = c(1, 2)), obs = list(time = "TIME", conc = "DV", dose =
  "AMT", id = "ID", dsinc = NULL))

Arguments

cfg

ubiquity system object

DSNAME

name of dataset loaded with (system_load_data)

dscale

factor to multiply the dose to get it into the same units as concentration: if you are dosing in mg/kg and your concentrations is in ng/ml, then dscale = 1e6

ssby

list specifying how to subset the data, with list names being column names from the dataset and values being those used for subsetting (note every combination will be considered when performing NCA: If your dataset specifies the dose number (dose_number) for subjects and you want to perform NCA on doses 1 and 5 for subjects (id) 2, 8 and 120 then ssby would look like:

 ssby = list(id=c(2,8,120),  dose_number=c(1,5))
obs

list with names specifying the time, concentration, dose, and id columns to use when performing NCA

dsinc

character vector of columns from the dataset to include in the output summary: These should be constant for the combinations specified in ssby


john-harrold/ubiquity documentation built on Jan. 13, 2019, 12:54 a.m.