set_lower_bounds: set_lower_bounds

View source: R/functions_wrapper.R

set_lower_boundsR Documentation

set_lower_bounds

Description

Set parameter lower bounds

Usage

set_lower_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_upper_bounds : Set parameter upper bounds

unconstrain_parameters : Remove all constraints of parameters

Examples

## Not run: 
model <- load_example_model("pheno")
model <- set_lower_bounds(model, {'POP_CL': -10})
model$parameters['POP_CL']

## End(Not run)

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