match {rindex}R Documentation

High level match function/operator

Description

Match values in index

Usage

match(x, table, nomatch = NA, incomparables = FALSE)
 x %in% table

Arguments

x a set of search values
table an object of class ‘index’ or a simple vector
nomatch the value to return for non-matches (default NA)
incomparables not yet used

Details

match redefined version of match automatically recognizing index tables
%in% redefined version of %in% (redefinition needed for finding redefined match in spite of namespaces)

Value

Function match returns a vector of original positions (or the nomatch value NA), function %in% returns a logical vector.

Author(s)

Jens Oehlschlägel

See Also

index, indexFind, indexMatch


[Package rindex version 0.08 Index]