Last chance! 50% off unlimited learning
Sale ends in
Plot DV and predictions grouped on individuals
plot_individual_predictions(model, predictions, individuals = NULL)
(alt.Chart) Plot
(Model) Previously run Pharmpy model.
(data.frame) One column for each type of prediction
(array(numeric) (optional)) A vector of individuals to include. NULL for all individuals
if (FALSE) {
model <- load_example_model("pheno")
res <- load_example_modelfit_results("pheno")
plot_individual_predictions(model, res$predictions, individuals=c(1, 2, 3, 4, 5))
}
Run the code above in your browser using DataLab