unfix_parameters_to function

unfix_parameters_to

unfix_parameters_to

Unfix parameters to

Unfix all listed parameters to specified value/values

unfix_parameters_to(model, inits, strict = TRUE)

Arguments

  • model: (Model) Pharmpy model
  • inits: (list(str=numeric)) Inits for all parameters to unfix and change init
  • strict: (logical) Whether all parameters in input need to exist in the model. Default is TRUE

Returns

(Model) Pharmpy model object

Examples

## Not run: model <- load_example_model("pheno") model <- fix_parameters(model, c('POP_CL', 'POP_VC')) model$parameters$fix model <- unfix_parameters_to(model, list('POP_CL'=0.5)) model$parameters$fix model$parameters['POP_CL'] ## End(Not run)

See Also

fix_parameters : Fix parameters

fix_or_unfix_parameters : Fix or unfix parameters (given boolean)

unfix_paramaters : Unfixing parameters

fix_paramaters_to : Fixing parameters and setting a new initial estimate in the same

function

  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04