View source: R/functions_wrapper.R
evaluate_population_prediction | R Documentation |
Evaluate the numeric population prediction
The prediction is evaluated at the current model parameter values or optionally at the given parameter values. The evaluation is done for each data record in the model dataset or optionally using the dataset argument.
This function currently only support models without ODE systems
evaluate_population_prediction(model, parameters = NULL, dataset = NULL)
model |
(Model) Pharmpy model |
parameters |
(list(str=numeric) (optional)) Optional list of parameters and values |
dataset |
(data.frame (optional)) Optional dataset |
(data.frame) Population predictions
evaluate_individual_prediction : Evaluate the individual prediction
## Not run:
model <- load_example_model("pheno_linear")
results <- load_example_modelfit_results("pheno_linear")
pe <- results$parameter_estimates
evaluate_population_prediction(model, parameters=list(pe))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.