Description Usage Arguments Value Note Author(s) See Also Examples
The default splitting method for concat.split. Formerly based on
read.concat() but presently a simple wrapper around cSplit().
1 2 |
data |
The input |
split.col |
The column that need to be split. |
sep |
The character separating each value. |
drop |
Logical. Should the original variable be dropped? Defaults to
|
fixed |
Logical. Should the split character be treated as a fixed
pattern ( |
... |
optional arguments to pass to |
A data.table.
THIS FUNCTION IS DEPRECATED AND WILL BE REMOVED FROM LATER VERSIONS OF
"SPLITSTACKSHAPE". It no longer does anything different from cSplit(). It is
recommended that you transition your code to the cSplit function instead.
Ananda Mahto
1 2 3 4 5 6 7 8 9 | ## Not run:
temp <- head(concat.test)
concat.split.compact(temp, "Likes")
concat.split.compact(temp, 4, ";")
## Extra arguments to cSplit
concat.split.compact(temp, "Siblings", drop = TRUE, stripWhite = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.