View source: R/functions_wrapper.R
fix_parameters_to | R Documentation |
Fix parameters to
Fix all listed parameters to specified value/values
fix_parameters_to(model, inits, strict = TRUE)
model |
(Model) Pharmpy model |
inits |
(list(str=numeric)) Inits for all parameters to fix and set init |
strict |
(logical) Whether all parameters in input need to exist in the model. Default is TRUE |
(Model) Pharmpy model object
fix_parameters : Fix parameters
fix_or_unfix_parameters : Fix or unfix parameters (given boolean)
unfix_paramaters : Unfixing parameters
unfix_paramaters_to : Unfixing parameters and setting a new initial estimate in the same
function
## Not run:
model <- load_example_model("pheno")
model$parameters['POP_CL']
model <- fix_parameters_to(model, list('POP_CL'=0.5))
model$parameters['POP_CL']
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.