plot_dv_vs_pred
Plot DV vs PRED
plot_dv_vs_pred(model, predictions, stratify_on = NULL, bins = 8)
model
: (Model) Pharmpy modelpredictions
: (data.frame) DataFrame containing the predictionsstratify_on
: (str (optional)) Name of parameter for stratificationbins
: (numeric) Number of bins for stratification(alt.Chart) Plot
## 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)
Downloads (last 30 days):