colsplit {reshape} | R Documentation |
Split a vector into multiple columns
Description
This function can be used to split up a column that has been pasted together.
Usage
colsplit(x, split="", names)
Arguments
x |
character vector or factor to split up |
split |
regular expression to split on |
names |
names for output columns |
Author(s)
Hadley Wickham <h.wickham@gmail.com>
[Package reshape version 0.8.9 Index]