Shortcuts for head(x,1) and tail(x, 1)
head(x,1)
tail(x, 1)
first(x, ..., n = 1) last(x, ..., n = 1)
x
vector object
...
passed on to head or tail
n
the new number to take of only one.