Head and Tail
head
and tail
are two commands that can help us quickly look near the beginning or end of long lists of values.
- They work with both vectors and datasets
- They expect the object in question as their first argument, and you can use the pipe operation for that.
- They optionally take as a second argument the number of entries to show, with the default being 6.