residuals_linpred_plot {gratia} | R Documentation |
Plot of residuals versus linear predictor values
Description
Plot of residuals versus linear predictor values
Usage
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"
)
Arguments
model |
a fitted model. Currently only class |
type |
character; type of residuals to use. Only |
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
|
point_col |
colour used to draw points in the plots. See
|
point_alpha |
numeric; alpha transparency for points in plots. |
line_col |
colour specification for 1:1 line. |