Description Usage Arguments Details Value Examples
View source: R/f0.rbsb1.code.r
Just doing a character vector from a single character using
sep
to separate the different components.
1 | char2chars(cara, sep=rbsb.sep0, rsep="no_action", no_value=character(0))
|
cara |
The single character to transform. |
sep |
Separator for the splitting when |
rsep |
Indicates if repetitions of |
no\_value |
value to introduce for empty components. |
Argument sep
is a possible separator. If empty no splitting is
performed.
a character vector if everything was good. a 'faux' object otherwise.
1 2 3 4 5 6 | rbsb3k("reset"); # for R checking convenience
char2chars("A B C");
char2chars("A B C", " ");
char2chars("A B C ");
char2chars("A B C ", rsep="");
char2chars("0.1 0.9 // 0.5 0.5 // 0.9 0.1", "//");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.