| seq {base} | R Documentation |
Sequence Generation
Description
The first form above generates the sequence
from, from+1, ..., to.
The second,
from, from+by, ..., to.
The third generates a sequence of
length
equally spaced values from
from to to.
The last generates the sequence
1, 2, ..., length(along).
Usage
seq(from, to)
seq(from, to, by=)
seq(from, to, length=)
seq(along)
See Also
rep, sequence, row, col.