colsplit {reshape} | R Documentation |
This function can be used to split up a column that has been pasted together.
colsplit(x, split="", names)
x |
character vector or factor to split up |
split |
regular expression to split on |
names |
names for output columns |
Hadley Wickham <h.wickham@gmail.com>