diag_plots: Produces model diagnostic plots

Description Usage Arguments Value

View source: R/diag_plots.R

Description

Produces 6 plots to assess model performance.

Usage

1
diag_plots(mod, obs, size = 0.1, ggplot = TRUE, colourblind = TRUE)

Arguments

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 TRUE

Value

grob object which can be assigned and then saved using ggsave() function


tadhg-moore/gotmtools documentation built on Oct. 9, 2019, 2:48 p.m.