Description Usage Arguments Details Value Examples
Small Random Sample from a vector or data.frame
1 |
data |
A vector or data.frame from which a small sample is to be returned |
rows |
A positive integer, representing the number of lines or elements to print, default is 7. |
is.random |
a boolean. If TRUE, a random sample is drawn, else it takes the head() of the data |
If the rows parameter is greater than the actual number of rows/elements of the data, the returned value is the initial dataset after shuffling
A random sample without replacement taken from the data, in the same format than the input.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.