append_estimation_step_options {pharmr}R Documentation

append_estimation_step_options

Description

Append estimation step options

Appends options to an existing estimation step.

Usage

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)

Value

(Model) Pharmpy model object

See Also

add_estimation_step

set_estimation_step

remove_estimation_step

add_parameter_uncertainty_step

remove_parameter_uncertainty_step

set_evaluation_step

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)

[Package pharmr version 1.0.1 Index]