unconstrain_parameters function

unconstrain_parameters

unconstrain_parameters

Remove all constraints from parameters

unconstrain_parameters(model, parameter_names, strict = TRUE)

Arguments

  • model: (Model) Pharmpy model
  • parameter_names: (array(str)) Remove all constraints for the listed parameters
  • 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$parameters['POP_CL'] model <- unconstrain_parameters(model, c('POP_CL')) model$parameters['POP_CL'] ## End(Not run)

See Also

set_lower_bounds : Set parameter lower bounds

set_upper_bounds : Set parameter upper bounds

unfix_parameters : Unfix parameters

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