Description Usage Arguments Examples
Convert a one-column or one-row data.table to an unnamed vector.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
.x |
Object to convert. |
1 2 | data.frame(x = 1:5) %>% as_vector
data.frame(a = 1, b = 2) %>% as_vector
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.