[R] splitting the column

Gabor Grothendieck
2008-01-08T15:21:31Z

If mat is your matrix then this will produce a 14 column data frame:

DF <- read.table(textConnection(apply(mat, 1, paste, collapse = "
")))



On Jan 8, 2008 9:36 AM, mohamed nur anisah <nuranisah_mohamed at
yahoo.com> wrote:
> Hi,
>
>  I have a matrix data with 21 rows and 6 columns. Below and attach with is
my matrix data. My problem is to split the column into 3 subcolumns (except for