fix_or_unfix_parameters
Fix or unfix parameters
Set fixedness of parameters to specified values
fix_or_unfix_parameters(model, parameters, strict = TRUE)
model
: (Model) Pharmpy modelparameters
: (list(str=logical)) Set fix/unfix for these parametersstrict
: (logical) Whether all parameters in input need to exist in the model. Default is TRUE(Model) Pharmpy model object
## Not run: model <- load_example_model("pheno") model$parameters['POP_CL'] model <- fix_or_unfix_parameters(model, list('POP_CL'=TRUE)) model$parameters['POP_CL'] ## End(Not run)
fix_parameters : Fix parameters
unfix_paramaters : Unfixing parameters
fix_paramaters_to : Fixing parameters and setting a new initial estimate in the same
function
unfix_paramaters_to : Unfixing parameters and setting a new initial estimate in the same
function