| samplerows | R Documentation |
n rows without replacementSample n rows without replacement
samplerows(data, n, by = NULL)
data |
A data.frame. |
n |
Integer count. |
by |
Optional character vector of grouping columns; sample |
A random sample of n rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.