block_bootsrap: 'block_bootstrap' Performs a block bootstrap on the...

Description Usage Arguments Value

View source: R/block_bootstrap.R

Description

block_bootstrap Performs a block bootstrap on the functional data f_data with block size b.

Usage

1
block_bootsrap(f_data, b, B = 300, moving = FALSE)

Arguments

f_data

the functional data matrix with observed functions in the columns

b

the block size (of each block in each bootstrap sample)

B

the number of bootstraps samples

moving

boolean value specifying whether the block bootstrap should be moving or not. A moving black bootstrap samples individual functional observations and adds on the consequent block, rather than sampling blocks of the data.

Value

Returns a list of B elements, each element being a block bootstrap sample in the same format as the original functional data f_data.


wwntests documentation built on July 2, 2020, 2:57 a.m.