diag_plots | R Documentation |
Produces 6 plots to assess model performance.
diag_plots(
mod,
obs,
size = 0.1,
ggplot = TRUE,
colourblind = FALSE,
na.rm = FALSE
)
mod |
dataframe; modelled values in long format. |
obs |
dataframe; observed values in long format. |
size |
numeric; size of points in plot. Defaults to 0.1 |
ggplot |
logical; plot in ggplot or base plot. Defaults to TRUE |
colourblind |
logical; Use colourblind friendly colours. Defaults to FALSE |
na , rm |
boolean; a logical value indicating whether NA values should be stripped before the computation proceeds. Defaults to FALSE |
grob object which can be assigned and then saved using ggsave() function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.