MATCH

0th

Percentile

Value Matching

MATCH is a generic function for value matching.

Keywords
manip
Usage
MATCH(x, table, nomatch = NA, ...)
Arguments
x
an object.
table
the values to be matched against.
nomatch
the value to be returned in the case when no match is found. Note that it is coerced to integer.
...
further arguments to be passed to methods.
Details

MATCH is a new generic function which aims at providing the functionality of the non-generic base function match for arbitrary objects. Currently, there is only a default method which simply calls match.

See Also

match

Aliases
  • MATCH
  • MATCH.default
Examples
MATCH(1:5, 2:3)
Documentation reproduced from package zoo, version 0.9-9, License: GPL

Community examples

Looks like there are no examples yet.