[R] Converting list with different vector lengths into a dataframe (or export it as .csv)

Olivereta imma.oliveras at ouce.ox.ac.uk
Wed Jan 8 17:41:40 CET 2014


Thanks a lot for your answer. 
What I really want is a data.frame like this (I am just building it myself):

years

    [1]         [2]       [3]    [4]
[1]  2004      2007     NA    NA
[2]  2010     2005      NA    NA
[3]  2009      2001     NA    NA
[4] 2006      2000       2004   2009
[5]2006        2000      NA    NA
etc


Thank you very much, and apologies for not being clear enough.





--
View this message in context: http://r.789695.n4.nabble.com/Converting-list-with-different-vector-lengths-into-a-dataframe-or-export-it-as-csv-tp4683259p4683266.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list