Message-ID: <BLU170-W127D6B2425821C9A7CCEDCA89250@phx.gbl>
Date: 2013-01-07T16:13:03Z
From: Eliza Botto
Subject: list of lists to matrix
dear R family,
[a text file has been attached for better understanding]
i have a list of 16 and each of of that is further subdivided into variable number of lists. So, i have a kind of list into lists phenomenon.
[[1]]$'1'
1 2 3 4 5 6
7 8 9
[[1]]$'2'
1 2 3 4 5 6
7 8 9
i want to convert both these sublists into one column and then cbind it in the following way
col1 col2
1 1
2 2
3 3..
9 9
i want to the same operations on all the 16 lists.
thanks in advance,
elisa
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eq.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130107/195740d2/attachment-0002.txt>