| NMtransInp {NMdata} | R Documentation |
translate the column names according to the $INPUT section of a control stream
Description
translate the column names according to the $INPUT section of a control stream
Usage
NMtransInp(
data,
file,
lines,
translate = TRUE,
recover.cols = TRUE,
quiet = FALSE
)
Arguments
data |
the data to translate |
file |
the list file or control stream |
translate |
Do translation according to Nonmem code or not (default 'TRUE')? If not, an overview of column names in data and in Nonmem code is still returned with the data. |
recover.cols |
recover columns that were not used in the NONMEM control stream? Default is TRUE. Can only be negative when translate=FALSE. |
quiet |
Suppress warnings about data columns? |
Details
If 'translate=FALSE', data is returned with column names as in data file (not informed by the control stream '$INPUT' section). If 'translate=TRUE', 'NMtransInp' renames and copies columns as specified in '$INPUT'. This means that
Value
data with column names translated as specified by nonmem control stream. Class same as for 'data' argument. Class data.table.