[R] convert table to list

herwig bachmannherwig at hotmail.com
Tue Mar 31 22:02:36 CEST 2009


Hi there,

This is probably a rather simple question - but I was not able to solve it
so far.
I would like to convert the following table:

     A  B  C  D
 x 10 20 30 40
 y 11 21 31 41
 z 12      32 42
 

to a list with three columns like:

A x 10
A y 11
A z 12
B x 20
.
.
.

Any hints how do do this in R would be very much apprechiated.

cheers,

Herwig

-- 
View this message in context: http://www.nabble.com/convert-table-to-list-tp22810143p22810143.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list