bootstrap_samples | R Documentation |
Generates n_bootstrap
samples, each with n_sample
entries, from the provided
indices
. See Details for more information.
bootstrap_samples( n_indices, n_bootstrap = 100, n_sample = NULL, min_indices = 4 )
n_indices |
the indices to take the bootstrap sample from |
n_bootstrap |
how many bootstrap samples to generate? (default is 1000) |
n_sample |
how many items should be in each sample? See Details. |
min_indices |
the minimum number of indices to be willing to work with |
A bootstrap sample is a sample where the entries have been sampled
with replacement.
In general, a bootstrap sample has the same number of entries as the original
sample. However, there may be cases where upsampling to specific number
may be useful. Therefore, the parameter n_sample
is provided to enable
upsampling the original indices to a larger number. If n_sample
is NULL,
then no upsampling will be done.
list of bootstrap sampled indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.