subsample | R Documentation |
Combines purrr and dplyr sampling methods to sample x rows from a dataset y times. Useful for means testing.
subsample(x, rows_n = 100, samples_n = 100, replace = TRUE)
x |
Dataset |
rows_n |
Number of rows to sample from the dataset |
samples_n |
Number of times to sample the dataset |
Dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.