Description Usage Arguments Value Examples
Takes a string and returns all separated characters. If the input is numeric, the input is split into its digits and returned as numerics.
1 | s(x, on = "")
|
x |
Vector to split. Can be numeric or character. |
on |
Character string to split on, defaults to |
If length(x) == 1
, returns split as a vector, else as a list.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.