Description Usage Arguments Value See Also Examples
A quick way to show the first and last n lines of a data.frame, matrix, or a text object. Just a pretty call to head
and tail
1 2 3 |
x |
A matrix or data frame or free text |
hlength |
The number of lines at the beginning to show |
tlength |
The number of lines at the end to show |
digits |
Round off the data to digits |
ellipsis |
Separate the head and tail with dots (ellipsis) |
The first hlength and last tlength lines of a matrix or data frame with an ellipsis in between. If the input is neither a matrix nor data frame, the output will be the first hlength and last tlength lines.
topBottom is just a call to headTail with ellipsis = FALSE and returning a matrix output.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.