set_upper_bounds: set_upper_bounds

View source: R/functions_wrapper.R

set_upper_boundsR Documentation

set_upper_bounds

Description

Set parameter upper bounds

Usage

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

Value

(Model) Pharmpy model object

See Also

set_lower_bounds : Set parameter lower bounds

unconstrain_parameters : Remove all constraints of parameters

Examples

## Not run: 
model <- load_example_model("pheno")
model <- set_upper_bounds(model, list('POP_CL'=10))
model$parameters['POP_CL']

## End(Not run)

pharmpy/pharmr documentation built on Feb. 15, 2025, 3:22 a.m.