Description Usage Arguments Details Value
given a vector and a 2-column map, map names for vector based on the map. This is useful if we want to update labels according to a table.
1 |
vec |
the input vector |
map |
2-column data frame where first column is input names; 2nd column for output names |
fac2string |
whether to treat factor as string |
This function returns a new label vector with instructions in the map if a hit is found in the map
a vector same length as vec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.