base::match() is not a generic, so we can't just define Arrow methods for
it. This function exposes the analogous functions in the Arrow C++ library.
match_arrow(x, table, ...) is_in(x, table, ...)
| x |
|
|---|---|
| table |
|
| ... | additional arguments, ignored |
match_arrow() returns an int32-type Array of the same length
as x with the (0-based) indexes into table. is_in() returns a
boolean-type Array of the same length as x with values indicating
per element of x it it is present in table.