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


idendr0 documentation built on May 2, 2019, 5:13 a.m.