head2 | R Documentation |
Returns the first and last rows using output from both head
and
tail
and separates the two parts with dots. Useful for viewing
ordered datasets such as longitudinal census data.
head2(x, head = 3, tail = 1, dotrows = 1)
x |
A matrix or dataframe |
head |
The number of first rows |
tail |
The number of last rows |
dotrows |
The number of rows of dots |
A smaller object with first and last rows only
Chris Stubben
head2(aq.trans)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.