Description Usage Arguments Examples
This function shows the first and last n rows/elements of an object by combining utils::head and utils::tail. It is supposed to be used only while working interactively. Returns NULL invisibly. Also works with tibbles, but returns a data.frame in that case.
1 | ht(x, n)
|
x |
An object (usually a data.frame, matrix or vector) |
n |
A single positive integer. The number of rows/elements to print of the head and tail of the object. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.