Learn R Programming

pharmr (version 1.4.0)

add_residuals: add_residuals

Description

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')

Usage

add_residuals(model, res)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model

res

(array(str)) List of residuals (e.g. c('CWRES'))

See Also

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