Description Usage Arguments Value Note Author(s) Examples
Shows a random selection of rows from a data frame or matrix.
1 |
x |
A data frame or matrix. |
n |
A single numeric that indicates the number of rows to display. |
which |
A numeric or string vector that contains the column numbers or names to display. Defaults to showing all columns. |
No value is returned but a random (but sorted) selection of rows from the data frame is displayed.
If n
is larger than the number of rows in x
then x
is displayed without randomizing the rows.
Derek H. Ogle, dogle@northland.edu
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.