Learn R Programming

pharmr (version 1.4.0)

set_upper_bounds: set_upper_bounds

Description

Set parameter upper bounds

Usage

set_upper_bounds(model, bounds, strict = TRUE)

Value

(Model) Pharmpy model object

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

See Also

set_lower_bounds : Set parameter lower bounds

unconstrain_parameters : Remove all constraints of parameters

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- set_upper_bounds(model, list('POP_CL'=10))
model$parameters['POP_CL']
}

Run the code above in your browser using DataLab