Description Usage Arguments Value Examples
Takes a tibble and generates n samples using either the bootstrapping or permutation methods
1 |
x |
Tibble or data.frame, containing the response variable from which to sample |
n_samples |
Integer. The number of samples to be generated. Cannot be negative or 0. |
type |
String. Specifies the method to regenerate the samples. Default: "bootstrap" (the future implementations will allow for other types including "Permutation") |
Tibble containing all the resamples in a dataframe with an additional column mapping each observation to its sample id.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.