match.data.frame | R Documentation |
'match.data.frame' returns a vector of the positions of (first) matches of its first argument in its second. '
match.data.frame(
match_from,
match_to,
nomatch = NA_integer_,
method = "string"
)
match_from |
data frame to match from |
match_to |
data frame to match to |
nomatch |
what to do if there is no match |
method |
choose between 'string' and 'list', the former compares entries by their string values (i.e. 10 and '10' are considered equal), the latter requires exact type match |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.