unfix_parameters: unfix_parameters

View source: R/functions_wrapper.R

unfix_parametersR Documentation

unfix_parameters

Description

Unfix parameters

Unfix all listed parameters

Usage

unfix_parameters(model, parameter_names, strict = TRUE)

Arguments

model

(Model) Pharmpy model

parameter_names

(array(str) or str) one parameter name or a vector of parameter names

strict

(logical) Whether all parameters in input need to exist in the model. Default is TRUE

Value

(Model) Pharmpy model object

See Also

unfix_paramaters_to : Unfixing parameters and setting a new initial estimate in the same

function

fix_parameters : Fix parameters

fix_or_unfix_parameters : Fix or unfix parameters (given boolean)

fix_parameters_to : Fixing and setting parameter initial estimates in the same function

unconstrain_parameters : Remove all constraints of parameters

Examples

## Not run: 
model <- load_example_model("pheno")
model <- fix_parameters(model, c('POP_CL', 'POP_VC'))
model$parameters$fix
model <- unfix_parameters(model, 'POP_CL')
model$parameters$fix

## End(Not run)

pharmpy/pharmr documentation built on June 11, 2025, 11:56 a.m.