calc_singleBootstrapCI: Calculate a pointwise confidence interval band for a single...

Description Usage Arguments

View source: R/bootstrap_CIs.R

Description

Function to calculate a pointwise confidence interval (CI) band for a single smooth term, based on the output of bootstrap_pffr. This function is normally called more comfortably by using calc_bootstrapCIs. However, compared to the latter function, it also offers the additional possibility to compute CIs for differences of two smooths. NOTE: Only 1D and 2D smooths are currently handled correctly!

Usage

1
calc_singleBootstrapCI(bs_results, select, alpha = 0.05)

Arguments

bs_results

Output of function bootstrap_pffr

select

Index of smooth term to be looked at. If a vector of length two is passed, then the CI will be computed for the difference of the second smooth minus the first smooth.

alpha

(1-alpha) CIs are calculated. The default 0.05 leads to 95% CIs


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