Description Usage Arguments Value References Examples
Draws simple random sample without replacement
1 |
df |
object containing full sampling data frame (e.g. data) |
n |
sample size (integer) or object containing sample size |
over |
(optional) desired oversampling proportion (defaults to 0; takes value between 0 and 1 as input) |
rep |
(optional) |
Returns simple random sample without replacement
Simplified wrapper around dplyr::sample_n()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.