View source: R/functions_wrapper.R
set_estimation_step | R Documentation |
Set estimation step
Sets estimation step for a model. Methods currently supported are: FO, FOCE, ITS, LAPLACE, IMPMAP, IMP, SAEM, BAYES
set_estimation_step(model, method, idx = 0, ...)
model |
(Model) Pharmpy model |
method |
(str) estimation method to change to |
idx |
(numeric) index of estimation step, default is 0 (first estimation step) |
... |
Arguments to pass to EstimationStep (such as interaction, evaluation) |
(Model) Pharmpy model object
add_estimation_step
remove_estimation_step
append_estimation_step_options
add_parameter_uncertainty_step
remove_parameter_uncertainty_step
set_evaluation_step
## Not run:
model <- load_example_model("pheno")
opts <- list('NITER'=1000, 'ISAMPLE'=100)
model <- set_estimation_step(model, 'IMP', evaluation=TRUE, tool_options=opts)
model$execution_steps[1]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.