indexMatch {rindex} | R Documentation |
Find (lowest/highest) index positions for set of search values
indexMatch(obj, x, findlow = TRUE, what = c("ind", "pos", "val"))
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") |
indexMatch | finding positions of vector of search values |
A vector of index positions (ind), original positions (pos) or values (val).
indexMatch
warns if called on a non-unique index. This warning can be suppressed by giving parameter findlow
explicitely.
Jens Oehlschlägel
index
, indexFind
, indexFindInterval
, match