This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/seq.html
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.


[Package base version 0.60 ]