head2 | R Documentation |
Return the First or Last Parts of an Object
head2(x, n = 6)
x |
an object |
n |
an integer vector of length 1 or up to dim(x). Default is 6L. Negative values subtract n to the length or dimension. If only one value is provided but the object has more than one dimension, it will be used for all dimension (the difference with base::head()). If the object is a function, it will return n lines of the source code. |
A subsetted object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.