fix_parameters: fix_parameters

View source: R/functions_wrapper.R

fix_parametersR Documentation

fix_parameters

Description

Fix parameters

Fix all listed parameters

Usage

fix_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

fix_or_unfix_parameters : Fix or unfix parameters (given boolean)

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

unfix_paramaters : Unfixing parameters

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

function

Examples

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

## End(Not run)

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