fix_parameters_to {pharmr} | R Documentation |
fix_parameters_to
Description
Fix parameters to
Fix all listed parameters to specified value/values
Usage
fix_parameters_to(model, inits)
Arguments
model |
(Model) Pharmpy model |
inits |
(list(str=numeric)) Inits for all parameters to fix and set init |
Value
(Model) Pharmpy model object
See Also
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
Examples
## Not run:
model <- load_example_model("pheno")
model$parameters['POP_CL']
model <- fix_parameters_to(model, {'POP_CL': 0.5})
model$parameters['POP_CL']
## End(Not run)
[Package pharmr version 1.0.1 Index]