mySeq: mySeq

mySeqR Documentation

mySeq

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

mySeq(from, to, by = 1)

Arguments

from

starting value

to

ending value

by

step (defaults to 1)

Author(s)

Tomas Sieger


tsieger/idendro documentation built on July 7, 2022, 2:24 a.m.