rseq.Rd
rseq
is similar to seq
with the only
difference in the case when by
is specified and goes in the
opposite direction to from
to to
. In this case
seq
raises an error, while rseq
returns
an empty sequence.
rseq(from = 1, to = 1, by = NULL, ...)
from | from |
---|---|
to | to |
by | increment |
... |
Sequence similar to the result of seq
.
rseq(from = 1, to = 0, by = 1)#> numeric(0)