This is a simple wrapper on dplyr::sample_n`` that sets
replace=TRUE'
1 | resample_n(tbl, size = nrow(tbl), weight = NULL)
|
tbl |
a data table |
size |
optional. Defaults to the size of |
weight |
optional weighing to use when sampling. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.