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.
Usage
ellipses(df, n = 5L)
Value
A data frame truncated by a row of ellipses.
Arguments
df
A data.frame.
n
The number of rows to show before an ellipses row.