powered by
helper function to shorten display of a data frame
headtail(x, k = 3)
No return value. Uses cat to show data
cat
a data frame
number of rows at top and bottom to show.
headtail(mtcars)
Run the code above in your browser using DataLab