incseq {klin}R Documentation

Only returns increasing sequences

Description

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

Usage

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>


[Package klin version 2007-02-05 Index]