direct_sampling.Rd
Direct sampling
direct_sampling( data = NULL, n = 100L, method = c("kde", "surrogate", "bootstrap"), kde = NULL, seed = NULL, ... )
A numeric vector or matrix.
The number of samples to draw.
The method to use for sampling.
The kernel density estimate to use for sampling.
The seed to use for sampling.
Additional arguments to pass to the density function.