Learn R Programming

pharmr (version 1.4.0)

unconstrain_parameters: unconstrain_parameters

Description

Remove all constraints from parameters

Usage

unconstrain_parameters(model, parameter_names, strict = TRUE)

Value

(Model) Pharmpy model object

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

See Also

set_lower_bounds : Set parameter lower bounds

set_upper_bounds : Set parameter upper bounds

unfix_parameters : Unfix parameters

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model$parameters['POP_CL']
model <- unconstrain_parameters(model, c('POP_CL'))
model$parameters['POP_CL']
}

Run the code above in your browser using DataLab