Description Usage Arguments Value
Shortcut function for previewing a matrix or data.frame by displaying the upper-left corner. Similar to head
.
1 | head2(x, n = 10, ncols = 10)
|
x |
A wide matrix or data.frame. |
n |
Number of lines to display. Default 10. |
ncols |
Number of columns to display. Default 10. |
n
by ncols
subset of the matrix taken from the upper-left corner.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.