Learn R Programming

reshape (version 0.8.9)

colsplit: 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