Learn R Programming

pharmr (version 1.0.1)

set_upper_bounds: set_upper_bounds

Description

Set parameter upper bounds

Usage

set_upper_bounds(model, bounds)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model

bounds

(list(str=numeric)) A list of parameter bounds for parameters to change

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