Description Usage Arguments Value Author(s)
mapping function (it add the possibility to map using more than one column of the data frame)
1 | multi_map_df(dfToMap, dfMap, strColsFrom, strColFromDfMap, strColToDfMap, caseSensitive=FALSE)
|
dfToMap |
input data frame (that contains the columns that need to be mapped) |
dfMap |
data frame containing the mapping data |
strColsFrom |
sorted vector containing the names of the columns to be used in the input data frame for the mapping (the order of the elements in the vector defines the priority for the mapping) |
strColFromDfMap |
name of the column in the mapping data frame to be used as source for the mapping |
strColToDfMap |
name of the column in the mapping data frame to be used as target for the mapping |
caseSensitive |
specify whether the mapping should be case sensitive |
data frame with an additional column containing the result of the mapping
Andrea Franceschini
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.