indexEQ {rindex}R Documentation

High level comparison function

Description

Compare index against value

Usage

indexEQ(obj, x, what = c("pos", "val", "ind"), ...)
indexNE(obj, x, what = c("pos", "val", "ind"), ...)
indexLT(obj, x, what = c("pos", "val", "ind"), ...)
indexLE(obj, x, what = c("pos", "val", "ind"), ...)
indexGT(obj, x, what = c("pos", "val", "ind"), ...)
indexGE(obj, x, what = c("pos", "val", "ind"), ...)

Arguments

obj an object of class ‘index’
x a scalar comparison value
what on of c("ind", "pos", "val")
... further arguments passed to indexFindInterval

Details

indexEQ index EQual value
indexNE index NotEqual value
indexLT index LowerThan value
indexGT index GreaterThan value
indexLE index LowerEqual value
indexGE index GreaterEqual value

Value

A vector of original positions (pos), index positions (ind) or values (val).

Author(s)

Jens Oehlschlägel

See Also

index, indexFindInterval, ==.index


[Package rindex version 0.08 Index]