TITLE(sequence @@ Create A Vector of Sequences )
USAGE(
sequence(nvec)
)
ALIAS(sequence)
ARGUMENTS(
ARG(nvec @@ an integer vector each element of which specifies the upper
bound of a sequence.)
)
DESCRIPTION(
For each element of LANG(nvec) the sequence LANG(seq(nvec[i]))
is created. These are appended and the result returned.
)
SEEALSO(
LANG(LINK(gl)), LANG(LINK(seq)), LANG(LINK(rep)).
)
EXAMPLES(
# return the concatenated sequences 1:3 and 1:2.
> sequence(c(3,2))
[1] 1 2 3 1 2
)
