Description Usage Arguments Details Value Author(s) See Also
Grouping wrapper for sample_n
1 |
... |
parameters for dplyr::sample_n |
The wisegroup package provides a wrapper for sample_n that behaves as per the original with the added bonus of signalling returned data could be grouped in source code. This helps avoid mistakes associated with forgetting to call ungroup().
For original documentation see dplyr::sample_n()
.
Use wisegroup::sample_n()
to automatically remove groups after applying dplyr::sample_n.
an ungrouped dataframe
Miles McBain
dplyr::sample_n, sample_n...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.