nca.check.sim: Check simulated data

View source: R/nca.check.sim.R

nca.check.simR Documentation

Check simulated data

Description

nca.check.sim Checks simulated data for compatibility with ncappc and processes the data with various filtering criteria.

Usage

nca.check.sim(
  simData,
  idNmSim = "ID",
  timeNmSim = "TIME",
  concNmSim = "DV",
  filterNm = NULL,
  filterExcl = NULL,
  str1Nm = NULL,
  str1 = NULL,
  str2Nm = NULL,
  str2 = NULL,
  str3Nm = NULL,
  str3 = NULL,
  adminType = "extravascular",
  TI = NULL,
  doseAmtNm = NULL,
  blqNm = NULL,
  blqExcl = 1,
  evid = TRUE,
  evidIncl = 0,
  mdv = FALSE
)

Arguments

simData

Simulated concentration-time data.

idNmSim

Column name for ID in simulated data. Default is "ID"

timeNmSim

Column name for time in simulated data. Default is "TIME"

concNmSim

Column name for concentration in simulated data. Default is "DV"

filterNm

Column name to filter data. Default is NULL

filterExcl

Row exclusion criteria based on the column defined by filterNm. This can be numeric value or logical condition (e.g. c(1, 2, "<20", ">=100", "!=100")). Default is NULL

str1Nm

Column name for 1st level population stratifier. Default is NULL

str1

Stratification ID of the members within 1st level stratification (e.g c(1,2)). Default is NULL

str2Nm

Column name for 2nd level population stratifier. Default is NULL

str2

Stratification ID of the members within 2nd level stratification (e.g c(1,2)). Default is NULL

str3Nm

Column name for 3rd level population stratifier. Default is NULL

str3

Stratification ID of the members within 3rd level stratification (e.g c(1,2)). Default is NULL

adminType

Route of administration. Allowed options are iv-bolus, iv-infusion or extravascular. Default is "extravascular"

TI

Infusion duration. If TI is a single numeric value, TI is the same for all individuals. If TI is the name of a column with numeric data present in the data set, TI is set to the unique value of the column for a given individual. Default is NULL

doseAmtNm

Column name to specify dose amount. Default is NULL

blqNm

Name of BLQ column if used to exclude data. Default is NULL

blqExcl

Excluded BLQ value; either a numeric value or a logical condition (e.g. 1 or ">=1" or c(1,">3")). Used only if the blqNm is not NULL. Default is "1"

evid

If TRUE EVID is used to filter data. Default is TRUE

evidIncl

Included values in EVID. Default is "0"

mdv

If TRUE MDV is used to include data when MDV=0. Default is FALSE

Details

nca.check.sim Checks simulated data for compatibility with ncappc.

Value

A list of objects


UUPharmacometrics/ncappc documentation built on March 23, 2022, 8:59 a.m.