View source: R/util.R
Swaps values and names of a vector.
invert_names(value)
value
[named vector()] Named vector with elements that should be coercible to a character vector, preferably strings.
named vector()
A character vector.
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.