This function is typically not needed by end users.
Usage
nlmixrDataSimplify(data, object, table = list(), est = NULL, control = NULL)Arguments
- data
nlmixr data
- object
an nlmixr_ui object (e.g. the output of running
nlmixr(object = model)- table
The output table control object (like `tableControl()`)
- est
estimation method (all methods are shown by `nlmixr2AllEst()`). Methods can be added for other tools
- control
The estimation control object. These are expected to be different for each type of estimation method
Value
The data with the nlmixr2 column lower case and on the left and the covariate columns on the right and alphabetically sorted.
Details
The standardization keeps columns that rxode2 and nlmixr2 use along with the covariates. Column order is standardized (rxode2 then nlmixr2 then alphabetically sorted covariates), and rxode2 and nlmixr2 column names are converted to lower case.
Some estimation methods take their covariates from the data instead of from
the model; est="vae" searches the data for covariates to select. For
those methods the covariate columns the search can pick from are kept as
well, since dropping them would change the fit.
