remove_residuals: remove_residuals

View source: R/functions_wrapper.R

remove_residualsR Documentation

remove_residuals

Description

Remove residuals

Remove residuals from estimation step.

Usage

remove_residuals(model, to_remove = NULL)

Arguments

model

(Model) Pharmpy model

to_remove

(array(str) (optional)) Residuals to remove

Value

(Model) Pharmpy model object

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

Examples

## Not run: 
model <- load_example_model("pheno")
model <- remove_residuals(model)
model$execution_steps[-1].residuals

## End(Not run)

pharmpy/pharmr documentation built on Feb. 15, 2025, 3:22 a.m.