| samplefrac | R Documentation |
Sample a fraction of rows without replacement
samplefrac(data, frac, by = NULL)
data |
A data.frame. |
frac |
Fraction of rows to sample. |
by |
Optional character vector of grouping columns; sample |
A random sample of rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.