plot_resVSfitted: Residual plot vs fitted values for 'pffr' models

Description Usage Arguments

View source: R/residual_plots.R

Description

Plot the residuals of a function-on-scalar model fitted with pffr against its fitted values.

Usage

1
2
3
4
plot_resVSfitted(model, type = "response", base_size = 11,
  xlab = "fitted values", ylab = NULL,
  main = "Residuals vs fitted values\nHeatmap of binned points",
  legend_limits = NULL, legend_breaks = waiver(), ...)

Arguments

model

Function-on-scalar model fitted with pffr

type

See residuals.gam

base_size

Size of plot elements. see theme_bw. Defaults to 11.

xlab, ylab, main

Optional plot annotation

legend_limits, legend_breaks

Optional arguments, passed as limits and breaks to ggplot2:scale_fill_gradientn().

...

Further arguments passed to theme


bauer-alex/FoSIntro documentation built on Feb. 11, 2022, 8:33 a.m.