invert_named | R Documentation |
Invert the names and elements of a vector, useful when using named vectors as
the abbreviation arguments both of expand_abbrev()
and abbrev_full()
(or
their parent normalization functions like normal_address()
)
invert_named(x)
x |
A named vector. |
A named vector with names in place of elements and vice versa.
invert_named(x = c("name" = "element"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.