remove_predictions function

remove_predictions

remove_predictions

Remove predictions and/or residuals

Remove predictions from estimation step.

remove_predictions(model, to_remove = NULL)

Arguments

  • model: (Model) Pharmpy model
  • to_remove: (array(str) (optional)) Predictions to remove

Returns

(Model) Pharmpy model object

Examples

## Not run: model <- load_example_model("pheno") model <- remove_predictions(model) model$execution_steps[-1].predictions ## End(Not run)

See Also

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

  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04