plot_dv_vs_pred function

plot_dv_vs_pred

plot_dv_vs_pred

Plot DV vs PRED

plot_dv_vs_pred(model, predictions, stratify_on = NULL, bins = 8)

Arguments

  • model: (Model) Pharmpy model
  • predictions: (data.frame) DataFrame containing the predictions
  • stratify_on: (str (optional)) Name of parameter for stratification
  • bins: (numeric) Number of bins for stratification

Returns

(alt.Chart) Plot

Examples

## Not run: model <- load_example_model("pheno") res <- load_example_modelfit_results("pheno") plot_dv_vs_pred(model, res$predictions) model <- load_example_model("pheno") res <- load_example_modelfit_results("pheno") plot_dv_vs_pred(model, res$predictions, 'WGT', bins=4) ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04

Downloads (last 30 days):