powered by
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) Pharmpy model object
(Model) Pharmpy model
(str) estimation method to change to
(numeric) index of estimation step, default is 0 (first estimation step)
Arguments to pass to EstimationStep (such as interaction, evaluation)
add_estimation_step
remove_estimation_step
append_estimation_step_options
add_parameter_uncertainty_step
remove_parameter_uncertainty_step
set_evaluation_step
if (FALSE) { 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] }
Run the code above in your browser using DataLab