\Header{integer}{Integer Vectors}
\alias{as.integer}{integer}
\methalias{as.integer.default}{integer}
\alias{is.integer}{integer}
\keyword{classes}{integer}
\begin{Description}\relax
Creates or tests for objects of type \code{"integer"}.\end{Description}
\begin{Usage}
\begin{verbatim}
integer(length = 0)
as.integer(x, ...)
is.integer(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{length}] desired length.
\item[\code{x}] object to be coerced or tested.
\item[\code{...}] further arguments passed to or from other methods.
\end{ldescription}
\end{Arguments}
\begin{Value}
\code{integer} 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. The answer will be \code{NA} unless the coercion succeeds.
Real values larger in modulus than the largest integer are coerced to
\code{NA} (unlike S which gives the most extreme integer of the same sign).

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

