plot_resVSyindex: Residual plot vs functional domain 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 functional domain (e.g. time).

Usage

1
2
3
4
plot_resVSyindex(model, type = "response", base_size = 11,
  xlab = "yindex", ylab = NULL,
  main = "Residuals vs yindex\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

Optional plot annotation

ylab

Optional plot annotation

main

Optional plot annotation

legend_limits

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

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.