Description Usage Arguments Value Note Examples
View source: R/helper_functions.R
Given a list x, and a named list of y. Map the values of y to x based on the names of y.
1 | mapValue(x, y, verbose = F)
|
x |
A list with values to be mapped |
y |
A named list, where names(y) correponding to the value in x, and values |
A named list of the new mapped values
The named list of y must contain all values of x in names(y). The returned list is the same order as x.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.