add_population_parameter
Add a new population parameter to the model
add_population_parameter( model, name, init, lower = NULL, upper = NULL, fix = FALSE )
model
: (Model) Pharmpy modelname
: (str) Name of the new parameterinit
: (numeric) Initial estimate of the new parameterlower
: (numeric (optional)) Lower bound of the new parameterupper
: (numeric (optional)) Upper bound of the new parameterfix
: (logical) Should the new parameter be fixed?(Model) Pharmpy model object
## Not run: model <- load_example_model("pheno") model <- add_population_parameter(model, 'POP_KA', 2) model$parameters ## End(Not run)