Learn R Programming

rindex (version 0.12.1)

indexMatch: Mid level search: match set

Description

Find (lowest/highest) index positions for set of search values

Usage

indexMatch(obj, x, findlow = TRUE, what = c("ind", "pos", "val"))

Arguments

obj

an object of class ‘index’

x

a vector of search values

findlow

FALSE to take highest instance (default TRUE)

what

on of c("ind", "pos", "val")

Value

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

Details

indexMatch finding positions of vector of search values

See Also

index, indexFind, indexFindInterval, match