direct_sampling | R Documentation |
Direct sampling
direct_sampling(
data = NULL,
n = 100L,
method = c("kde", "surrogate", "bootstrap"),
kde = NULL,
seed = NULL,
...
)
data |
A numeric vector or matrix. |
n |
The number of samples to draw. |
method |
The method to use for sampling. |
kde |
The kernel density estimate to use for sampling. |
seed |
The seed to use for sampling. |
... |
Additional arguments to pass to the density function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.