.block_bootstrap | R Documentation |
.block_bootstrap
returns a block-bootstrapped replicate
of the incidence. Incidence should be a vector of non-negative values
.block_bootstrap(
incidence_input,
round_incidence = TRUE,
smoothing_method = "LOESS",
...
)
incidence_input |
Module input object. List with two elements:
|
round_incidence |
boolean. If |
smoothing_method |
string. Method used to smooth the original incidence data. Available options are:
|
... |
Arguments passed on to
|
This function works by resampling blocks of differences (on the log-scale) between the original data and a smoothed version of the original data.
a module output object. bootstrapped incidence.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.