helper function to shorten display of a data frame
headtail(x, k = 3)
x
a data frame
k
number of rows at top and bottom to show.
No return value. Uses cat to show data
cat
headtail(mtcars)