Simulate multivariate data
rmultivariate(
data,
method = c("bootstrap", "block-bootstrap"),
n = 100L,
block_size = 5
)
Arguments
- data
A numeric vector or matrix.
- method
The method to use for sampling.
- n
The number of samples to draw.
- block_size
The size of the blocks to use for the block bootstrap.
- ...
Additional arguments to pass to the density function.