plot_bootstrapCIs: Plot bootstrapped confidence intervals

Description Usage Arguments Value

View source: R/bootstrap_CIs.R

Description

Function to plot bootstrapped confidence intervals for function-on-scalar models fitted with pffr. The bootstrap confidence intervals have to be precalculated beforehand using calc_bootstrapCIs.

Usage

1
2
plot_bootstrapCIs(model, CIs_list, select = NULL, xlab, ylab, main,
  effect_label, ...)

Arguments

model

Function-on-scalar model fitted with pffr, which was fit on the raw, unbootstrapped data to extract point estimate.

CIs_list

Output of function calc_bootstrapCIs

select

Index of smooth term to be plotted. Default plots all effects

xlab, ylab, main

Optional parameters to overwrite the default plot parameters

effect_label

Used in main as 'effect_label with global 95% CI'. Only used if main = NULL.

...

Further arguments passed to plot_2Dheatmap

Value

Silently returns list with plot objects


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