plot_dv_vs_ipred {pharmr}R Documentation

plot_dv_vs_ipred

Description

Plot DV vs IPRED

Usage

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

Arguments

model

(Model) Pharmpy model

predictions

(data.frame) DataFrame containing the predictions

stratify_on

(str) Name of parameter for stratification

bins

(numeric) Number of bins for stratification

Value

(alt.Chart) Plot

Examples

## Not run: 
model <- load_example_model("pheno")
res <- load_example_modelfit_results("pheno")
plot_dv_vs_ipred(model, res$predictions)
model <- load_example_model("pheno")
res <- load_example_modelfit_results("pheno")
plot_dv_vs_ipred(model, res$predictions, 'WGT', bins=4)

## End(Not run)


[Package pharmr version 1.0.1 Index]