mySeq: mySeq

Description Usage Arguments Author(s)

Description

Sequence generation resembling matlab ':' operator. The difference from R ‘seq’ is the behaviour in case when from=2, to=1 and b=1 - in that case R seq raises an error, while matlab returns an empty sequence. This function returns an empty sequence as well in this case.

Usage

1
mySeq(from, to, by = 1)

Arguments

from

starting value

to

ending value

by

step (defaults to 1)

Author(s)

Tomas Sieger


tsieger/idendr0 documentation built on June 3, 2021, 3:17 p.m.