View source: R/block_bootstrap.R
block_bootsrap | R Documentation |
'block_bootstrap' Performs a block bootstrap on the functional data f_data with block size b.
block_bootsrap(f_data, b, B = 300, moving = FALSE)
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. |
Returns a list of B elements, each element being a block bootstrap sample in the same format as the original functional data f_data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.