Rev 2 | Rev 1209 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{list}\title{Lists}\usage{list(\dots)as.list(x)is.list(x)}\alias{list}\alias{as.list}\alias{is.list}\description{The arguments to \code{list} are of the form \code{value}or \code{tag=value}.The function returns a list composed of its argumentswith each value either tagged or untagged,depending on how the argument was specified.\code{as.list} attempts to coerce its argument to list type.\code{is.list} returns \code{TRUE} if its argumentis a list and \code{FALSE} otherwise.To create an empty list it is necessary to use thefunction \code{vector} with a \code{mode} of \code{"list"}.}\seealso{\code{\link{vector}}.}\examples{data(cars)# create a plotting structurepts <- list(x=cars[,1], y=cars[,2])plot(pts)}\keyword{list}\keyword{manip}