residuals_hist_plot {gratia} | R Documentation |
Histogram of model residuals
Description
Histogram of model residuals
Usage
residuals_hist_plot(
model,
type = c("deviance", "pearson", "response"),
n_bins = c("sturges", "scott", "fd"),
ylab = NULL,
xlab = NULL,
title = NULL,
subtitle = NULL,
caption = NULL
)
Arguments
model |
a fitted model. Currently only class |
type |
character; type of residuals to use. Only |
n_bins |
character or numeric; either the number of bins or a string indicating how to calculate the number of bins. |
ylab |
character or expression; the label for the y axis. If not supplied, a suitable label will be generated. |
xlab |
character or expression; the label for the y axis. If not supplied, a suitable label will be generated. |
title |
character or expression; the title for the plot. See
|
subtitle |
character or expression; the subtitle for the plot. See
|
caption |
character or expression; the plot caption. See
|
[Package gratia version 0.9.2 Index]