top(x) is an alias for head(x, 1L). bot(x) is an alias for tail(x, 1L).
top(x)
head(x, 1L)
bot(x)
tail(x, 1L)
top(x) bot(x)
x
an object.
An object (usually) like x but generally smaller.
head and head from package utils
head