The R Project SVN R

Rev

Rev 2 | Rev 3279 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

\name{integer}
\title{Integer Vectors}
\usage{
integer(n=0)

as.integer(x)
is.integer(x)
}
\alias{integer}
\alias{as.integer}
\alias{is.integer}
\value{
This function creates a integer vector of the specified length.
Each element of the vector is equal to \code{0}.
Integer vectors exist so that data can be passed to C or Fortran
code which expects them.

\code{as.integer} attempts to coerce its argument to be of
integer type.

\code{is.integer} returns \code{TRUE} or \code{FALSE}
depending on whether its argument is of integer type or not.
}
\keyword{classes}