toLookupList | R Documentation |
Keys and values to lookup list (list with elements representing the values and the names of the list elements representing the corresponding keys)
toLookupList(keys, values, data = NULL)
keys |
vector of character representing the keys of the dictionary |
values |
vector of character representing the values of the dictionary |
data |
Optional. Data frame with two columns of which the first is assumed to contain the keys and the second is assumed to contain the values of the dictionary |
dictionary: list with values as elements and keys as names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.