| plot_diagnostics | R Documentation |
Combines multiple diagnostic plots from
diagnose_curves into a multi-panel layout.
plot_diagnostics(
diag,
layout = c("2x2", "vertical", "horizontal"),
show_curve = FALSE,
rel_heights = c(1, 0.7)
)
diag |
An object of class |
layout |
Layout of diagnostic panels: |
show_curve |
Logical; whether to include the example adjusted curve. |
rel_heights |
Relative heights for panels when stacking. |
A composite plot object generated using cowplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.