\name{tail} \alias{tail} \alias{tail.default} \alias{tail.data.frame} \title{Last Part of an Object} \description{ Returns the last elements of a vector, last rows of a matrix, etc. } \usage{ tail(x, ...) tail.default(x, n=6) tail.data.frame(x, n=6) } \arguments{ \item{x}{an object} \item{n}{ size for the resulting object, number of elements for a vector, components for a list, rows for a matrix or data frame, lines for a function. } } \details{ For matrices and data frames, the last `n' rows are returned. For functions, the last few lines of the deparsed function are returned as character strings. } \value{ an object (usually) like \code{x} but generally smaller. } \author{Patrick Burns } \seealso{\code{\link{head}}, \code{\link{corner}}. } \examples{ data(freeny) # R command, not for S-PLUS tail(freeny.x, n=10) tail(freeny.y) } \keyword{manip }% at least one, from doc/KEYWORDS