nca_ind_data function

Prepare individual PK data

Prepare individual PK data

Extracts time-conc data for a given individual.

nca_ind_data(pkData, dvLog = FALSE, dataType = "obs", idNm = "ID", timeNm = "TIME", concNm = "DV", adminType = "extravascular", TI = NULL, dateColNm = NULL, dateFormat = NULL, timeFormat = "number")

Arguments

  • pkData: PK concentration-time data.
  • dvLog: If TRUE concentration is in logarithmic scale. Default is ‘FALSE’
  • dataType: Indicates if the data is observed ("obs") or simulated ("sim"). Since the simulated data is assumed to be obtained from NONMEM output, DATE and clock time (dateColNm, dateFormat, timeFormat) are not used for time data. Default is "obs" .
  • idNm: Column name for ID in PK data. Default is "ID"
  • timeNm: Column name for time in PK data. Default is "TIME"
  • concNm: Column name for concentration in PK data. Default is "DV"
  • 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’
  • dateColNm: column name for date if used (e.g. "Date", "DATE"). Default is ‘NULL’
  • dateFormat: date format (D-M-Y, D/M/Y or any other combination of D,M,Y). Default is ‘NULL’
  • timeFormat: time format (number, H:M, H:M:S). Default is "number"

Returns

A list of objects with time-conc data and individual infusion duration for iv-infusion data

Details

Extracts time-conc data for a given individual.

  • Maintainer: Andrew C. Hooker
  • License: GPL-3
  • Last published: 2018-08-24

Useful links