ellipses | R Documentation |
Prints the specified number of rows of a data frame, followed by a row of
ellipses. Useful for piping to knitr::kable()
for printing a truncated
table in a markdown document.
ellipses(df, n = 5L)
df |
A data frame. |
n |
The number of rows to show before an ellipses row. |
A data frame truncated by a row of ellipses.
ellipses(mtcars, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.