Description Usage Arguments Value Author(s) Examples
strsplit
splits a string accoring to a specific sign. The number
of occurrences of the splitting sign defines the number of splits. halveString
allows to split the string in only two parts, no matter how often the splitting sign occurs.
1 |
string |
A character vector. |
pattern |
character vector (or object which can be coerced to such) to use for splitting. |
first |
Logical: Relevant if the pattern occurs more than one time in the string. Defines whether the first (default) or last occurrence is used for splitting. |
A data.frame with two columns
Sebastian Weirich
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.