Histogram of model residuals
Arguments
- model
a fitted model. Currently only class
"gam"
.- type
character; type of residuals to use. Only
"deviance"
,"response"
, and"pearson"
residuals are allowed.- 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
ggplot2::labs()
.- subtitle
character or expression; the subtitle for the plot. See
ggplot2::labs()
.character or expression; the plot caption. See
ggplot2::labs()
.