bind_vector | R Documentation |
Deprecated, use tidy_vector
instead.
bind_vector(x, id.name = "id", content.name = "content", ...)
x |
A named atomic |
id.name |
The name to use for the column created from the |
content.name |
The name to use for the column created from the |
... |
ignored. |
Returns a data.table
with the names
from the vector
as an id
column.
## Not run:
x <- setNames(sample(LETTERS[1:6], 1000, TRUE), sample(state.name[1:5], 1000, TRUE))
bind_vector(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.