Learn R Programming

rindex (version 0.12.1)

indexFind: Low level search

Description

Find position in index

Usage

indexFind(obj, val, findlow = TRUE)
  indexFindlike(obj, val, findlow = TRUE)

Arguments

obj

an object of class ‘index’

val

search value

findlow

FALSE to find highest instance of value (default false)

Value

An integer position of lowest or highest instance of search value

Details

indexFind finding exact values in index
indexFindlike finding values in index that begin like search value (character indices only)

See Also

index, indexFindInterval, grep