mySeq {idendr0}R 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


[Package idendr0 version 1.5.3 Index]