Description Usage Arguments Value Author(s) Examples
Returns the first part of an object similar to head() but subsets columns as well as rows, and also handles lists of objects.
1 | corner(mat, n = 6)
|
mat |
A DataFrame, data.frame, GRanges, matrix, tibble, or list |
n |
Integer number of rows and columns you want returned |
An n x n object of the original class (or a list of n nxn objects)
Emily E. Burke
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.