Description Usage Arguments Value Author(s) Examples
Inverts a (named) list such that the values become the keys and the keys become the values.
1 | invert_list(x)
|
x |
A named list |
A list with values as keys and keys as values.
Mikhail Popov
1 | invert_list(list(x = c(1, 2), y = c(2, 3)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.