powered by
Add an individual or pk parameter to a model
add_individual_parameter(model, name, init = 0.1, lower = 0)
(Model) Updated Pharmpy model
(Model) Pharmpy model
(str) Name of individual/pk parameter
(numeric) Initial estimate of the population parameter
(numeric) Lower bound for the population parameter
if (FALSE) { model <- load_example_model("pheno") model <- add_individual_parameter(model, "KA") model$statements$find_assignment("KA") }
Run the code above in your browser using DataLab