\HeaderA{sequence}{Create A Vector of Sequences}{sequence}
\keyword{manip}{sequence}
\begin{Description}\relax
For each element of \code{nvec} the sequence \code{seq(nvec[i])}
is created. These are appended and the result returned.
\end{Description}
\begin{Usage}
\begin{verbatim}
sequence(nvec)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{nvec}] an integer vector each element of which specifies the upper
bound of a sequence.
\end{ldescription}
\end{Arguments}
\begin{SeeAlso}\relax
\code{\LinkA{gl}{gl}}, \code{\LinkA{seq}{seq}}, \code{\LinkA{rep}{rep}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
sequence(c(3,2))# the concatenated sequences 1:3 and 1:2.
#> [1] 1 2 3 1 2
\end{ExampleCode}
\end{Examples}

