Description Usage Arguments Value Examples
View source: R/df.2.named.vector.R
Turns the two first columns of a data frame into a named vector, taking the values from the second and the names from the first column.
1 | df.2.named.vector(.data)
|
.data |
a data frame with at least two columns |
a named vector
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.