set_upper_bounds function

set_upper_bounds

set_upper_bounds

Set parameter upper bounds

set_upper_bounds(model, bounds, strict = TRUE)

Arguments

  • model: (Model) Pharmpy model
  • bounds: (list(str=numeric)) A list of parameter bounds for parameters to change
  • 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 <- set_upper_bounds(model, list('POP_CL'=10)) model$parameters['POP_CL'] ## End(Not run)

See Also

set_lower_bounds : Set parameter lower bounds

unconstrain_parameters : Remove all constraints of parameters

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