View source: R/functions_wrapper.R
add_residuals | R Documentation |
Add predictions and/or residuals
Add residuals to estimation step.
Added redidual variable(s) need to be one of the following : c('RES', 'IRES', 'WRES', 'IWRES', 'CWRES')
add_residuals(model, res)
model |
(Model) Pharmpy model |
res |
(array(str)) List of residuals (e.g. c('CWRES')) |
(Model) Pharmpy model object
remove_predictions
remove_residuals
set_estimation_step
add_estimation_step
remove_estimation_step
append_estimation_step_options
add_parameter_uncertainty_step
remove_parameter_uncertainty_step
## Not run:
model <- load_example_model("pheno")
model$execution_steps[-1].residuals
model <- add_residuals(model, c('WRES'))
model$execution_steps[-1].residuals
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.