Get residual plots for model diagnostics

get_residual_plots(
  model,
  lang = c("eng", "ger")[1],
  col_dots = BioMathR::palette_getset("BioMath", setforggplot = FALSE)[["grey"]],
  col_line = BioMathR::palette_getset("BioMath", setforggplot = FALSE)[["green"]],
  aslist = FALSE
)

Arguments

model

A model object.

lang

Language for plots labels.

col_dots

Color of the dots.

col_line

Color of the lines.

aslist

If TRUE, output is a list of plots. If FALSE (default), output is a combined plot.