append_estimation_step_options function

append_estimation_step_options

append_estimation_step_options

Append estimation step options

Appends options to an existing estimation step.

append_estimation_step_options(model, tool_options, idx)

Arguments

  • model: (Model) Pharmpy model
  • tool_options: (list(str=any)) any additional tool specific options
  • idx: (numeric) index of estimation step (starting from 0)

Returns

(Model) Pharmpy model object

Examples

## Not run: model <- load_example_model("pheno") opts <- list('NITER'=1000, 'ISAMPLE'=100) model <- append_estimation_step_options(model, tool_options=opts, idx=0) est <- model$execution_steps[1] length(est$tool_options) ## End(Not run)

See Also

add_estimation_step

set_estimation_step

remove_estimation_step

add_parameter_uncertainty_step

remove_parameter_uncertainty_step

set_evaluation_step

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