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.
## Not run:
ellipses(mtcars, 5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.