| headtail | R Documentation | 
A quick glance into a dataframe combining n head and tail rows
headtail(df, n = 5, simplify = TRUE)
| n | number of top/bottom rows to include, or number of characters in case of a string | 
top, bottom and a transition rows suggest how many rows skipped
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.