corner | R Documentation |
This function pulls out the top-left corner of a data frame or matrix. This is useful if the input is very tall and/or wide, such that printing the entire object fills up the entire console, even with the nice printing features of tibbles.
corner(x, nr = 5, nc = 5)
x |
the input data frame or matrix |
nr |
number of rows to pull out |
nc |
number of columns to pull out |
use negative nr or nc to select bottom or right corners, respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.