Description Usage Arguments Details Value Examples
Given a named list, that is, a map, return the inverse map.
1 | invert_map(map)
|
map |
A named list |
NA values are dropped during the inversion.
A list representing the inverse of map
1 2 | map <- list(a = c("A", "C"), b = c("B", "C", NA))
invert_map(map)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.