ez.range: similar to python range (python: left inclusive, right...

View source: R/basic.R

ez.rangeR Documentation

similar to python range (python: left inclusive, right exclusive), wrapper of seq, may also consider 1:3

Description

similar to python range (python: left inclusive, right exclusive), wrapper of seq, may also consider 1:3

Usage

ez.range(start, stop, step = 1)

Value

returns a vector (both ends inclusive)

Examples

ez.range(1,3) # 1 2 3, equivalent to 1:3

jerryzhujian9/zmisc documentation built on March 9, 2024, 12:49 a.m.