indexMatch: Mid level search: match set

Description Usage Arguments Details Value Note Author(s) See Also

View source: R/index.R

Description

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

Usage

1
 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")

Details

indexMatch finding positions of vector of search values

Value

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

Note

indexMatch warns if called on a non-unique index. This warning can be suppressed by giving parameter findlow explicitely.

Author(s)

Jens Oehlschl<e4>gel

See Also

index, indexFind, indexFindInterval, match


rindex documentation built on Sept. 1, 2018, 1:04 a.m.

Related to indexMatch in rindex...