Plot of residuals versus linear predictor values
residuals_linpred_plot(
model,
type = c("deviance", "pearson", "response"),
ylab = NULL,
xlab = NULL,
title = NULL,
subtitle = NULL,
caption = NULL,
point_col = "black",
point_alpha = 1,
line_col = "red"
)a fitted model. Currently only class "gam".
character; type of residuals to use. Only "deviance",
"response", and "pearson" residuals are allowed.
character or expression; the label for the y axis. If not supplied, a suitable label will be generated.
character or expression; the label for the y axis. If not supplied, a suitable label will be generated.
character or expression; the title for the plot. See
ggplot2::labs().
character or expression; the subtitle for the plot. See
ggplot2::labs().
character or expression; the plot caption. See
ggplot2::labs().
colour used to draw points in the plots. See
graphics::par() section Color Specification. This is passed to
the individual plotting functions, and therefore affects the points of
all plots.
numeric; alpha transparency for points in plots.
colour specification for 1:1 line.