remove_residuals {pharmr} | R Documentation |
Remove predictions and/or residuals
Remove residuals from estimation step.
remove_residuals(model, to_remove = NULL)
model |
(Model) Pharmpy model |
to_remove |
(array(str)) List of predictions to remove |
(Model) Pharmpy model object
add_predictions
add_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 <- remove_residuals(model, 'all')
model$execution_steps[-1].residuals
## End(Not run)