Learn R Programming

klin (version 2007-02-05)

incseq: Only returns increasing sequences

Description

Given two numbers a and b, returns a:b if a<=b< code="">, otherwise numeric(0).

Usage

incseq(a,b)

Arguments

a
lower endpoint, an integer
b
upper endpoint, an integer

Value

If a<=b< code="">, a:b, otherwise numeric(0).