translate the column names according to the $INPUT section of a control stream
NMtransInp(
data,
file,
lines,
translate = TRUE,
recover.cols = TRUE,
quiet = FALSE
)data with column names translated as specified by nonmem control stream. Class same as for 'data' argument. Class data.table.
the data to translate
the list file or control stream
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 columns that were not used in the NONMEM control stream? Default is TRUE. Can only be negative when translate=FALSE.
Suppress warnings about data columns?
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