Description Usage Arguments Value Author(s) References See Also Examples
Tokenize strings by character in a similar way as the strsplit
function in the base
package. The function can return a matrix of
tokenized items when index
is missing. If index
is given,
tokenized items in the selected position(s) are returned. See examples.
1 |
x |
A vector of character strings; non-character vectors are cast into characters. |
split |
A character to split the strings. |
index |
Numeric vector indicating which fields should be returned; if
missing or set to |
... |
Other parameters passed to |
A matrix if index
is missing, NULL
, or contains more
than one integer indices; otherwise a character vector.
Jitao David Zhang <jitao_david.zhang@roche.com>
The main body of the function is modified from the
strsplit2
function in the limma
package.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.