Description Usage Arguments Details Value Author(s) See Also Examples
These two functions reassembles head
and tail
, showing the
first rows and columns of 2D data structures, e.g. matrix or data.frame.
1 | headhead(x, m = 6L, n = 6L)
|
x |
A |
m |
Integer, number of rows to show |
n |
Integer, number of columns to show |
While head
and tail
can be applied to data.frame
or
matrix
as well, they show all columns of the first (last) rows even
if the matrix has a large number of columns. These two function,
headhead
and tailtail
, circumvent this problem by showing only
the first rows AND the first columns.
The first rows/columns of the input object
Jitao David Zhang <jitao_david.zhang@roche.com>
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.