match {narray} | R Documentation |
match() function with extended functionality
Description
match() function with extended functionality
Usage
match(x, from, to, filter_from = NULL, filter_to = NULL,
data = parent.frame(), fuzzy_level = 0, table = FALSE,
na_rm = FALSE, warn = !table && fuzzy_level > 0)
Arguments
x |
Vector of identifiers that should be mapped |
from |
Vector of identifiers that can be mapped |
to |
Matched mapping for all identifiers |
filter_from |
Restrict matching to a subset from 'from' |
filter_to |
Restrict matching to a subset from 'to' |
data |
List containing the data 'from' and 'to' reference |
fuzzy_level |
0 for exact, 1 punctuation, and 2 closest character |
table |
Return a matching table instead of just the matches |
na_rm |
Flag to remove items that can not be mapped |
warn |
Display warning for all fuzzy matches |
Value
Mapped values
[Package narray version 0.5.1 Index]