match | R Documentation |
match() function with extended functionality
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)
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 |
Mapped values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.