fix_parameters {pharmr}R Documentation

fix_parameters

Description

Fix parameters

Fix all listed parameters

Usage

fix_parameters(model, parameter_names)

Arguments

model

(Model) Pharmpy model

parameter_names

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

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)

[Package pharmr version 1.0.1 Index]