DS: Name of the dataset loaded using system_load_data
col_ID: Column of unique subject identifier
col_CMT: Compartment column
col_DV: Column with observations or ’.’ for input
col_TIME: Column with system time of each record
col_AMT: Infusion/dose amounts (these need to be in the same units specified in the system.txt file)
col_RATE: Rate of infusion or ’.’ for bolus
col_EVID: EVID (0 - observation, 1 dose)
col_GROUP: Column name to use for defining similar cohorts when generating figures.
filter: List used to filter the dataset or NULL if the whole dataset is to be used (see filter rules or nm_select_records or a description of how to use this option)
INPUTS: List mapping input information in the dataset to names used in the system.txt file
OBS: List mapping obseravation information in the dataset to names used in the system.txt file
Returns
list with the following elements
"isgood" Boolean variable indicating success (TRUE) or failure (FALSE)
"mywarning" Boolean variable indicating warnings (TRUE) or no warnings (FALSE)
"dsraw" Dataframe with the filtered raw data that was used
"input_records" Rows from dsraw containing the input information
"obs_records" Rows from dsraw containing the observation information