Description Usage Arguments Details Value Examples
Utility to convert named vector to two column tibble with first column being names of the vector and second being the vector
1 | vector_to_tibble(vec, colname = "col")
|
vec |
A vector |
colname |
Name of the column to be formed |
The column containing names will be named 'names_colname'
A tibble
1 | vector_to_tibble(c(a = 1, b = 2), colname = "val")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.