Description Usage Arguments Value Examples
Analogous to head and tail, but takes a random sample of rows
to display and prints them in order
| 1 | peek(x, n = 6L)
 | 
| x | a vector, matrix, or data.frame | 
| n | an integer specifying the number of elements (vector) or rows (matrix/data.frame) to display | 
a random subset of x. Elements will be in the same order as in x, and output is of the same class as x.
| 1 2 3 4 5 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.