View source: R/replext_helpers.R
text_to_vector | R Documentation |
This internal function takes a string of comma-separated values and converts it into a numeric vector. It is typically used to process user inputs from the Shiny app's UI where multiple values can be entered as a single string.
text_to_vector(text_input)
text_input |
A string containing comma-separated values, typically a user input from the Shiny app's UI. |
A numeric vector converted from the comma-separated string. If the input is an empty string, returns an empty numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.