incseq: Only returns increasing sequences

Description Usage Arguments Value Note Author(s)

Description

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

Usage

1
incseq(a,b)

Arguments

a

lower endpoint, an integer

b

upper endpoint, an integer

Value

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

Note

The function does not check whether a and b are indeed integers.

Author(s)

Tamas K Papp <tpapp@princeton.edu>


klin documentation built on May 2, 2019, 1:05 p.m.