text_to_vector | R Documentation |
The goal of this function is to take text input and convert it to an R vector.
text_to_vector(text_input)
text_input |
A string input to be converted to a vector. |
A vector parsed from the input string.
text_to_vector("1,2,3,4,5")
text_to_vector("1:5")
text_to_vector("rep(1:5, times = 2)")
text_to_vector("seq(1,10,2)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.