plot_cwres_vs_idv
Plot CWRES vs idv
plot_cwres_vs_idv(model, residuals, stratify_on = NULL, bins = 8)
model
: (Model) Pharmpy modelresiduals
: (data.frame) DataFrame containing CWRESstratify_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_cwres_vs_idv(model, res$residuals) model <- load_example_model("pheno") res <- load_example_modelfit_results("pheno") plot_cwres_vs_idv(model, res$residuals, 'WGT', bins=4) ## End(Not run)