unconstrain_parameters: unconstrain_parameters

View source: R/functions_wrapper.R

unconstrain_parametersR Documentation

unconstrain_parameters

Description

Remove all constraints from parameters

Usage

unconstrain_parameters(model, parameter_names, strict = TRUE)

Arguments

model

(Model) Pharmpy model

parameter_names

(array(str)) Remove all constraints for the listed parameters

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

set_upper_bounds : Set parameter upper bounds

unfix_parameters : Unfix parameters

Examples

## Not run: 
model <- load_example_model("pheno")
model$parameters['POP_CL']
model <- unconstrain_parameters(model, c('POP_CL'))
model$parameters['POP_CL']

## End(Not run)

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