[R] [Fwd: as.data.frame question]

markleeds at verizon.net markleeds at verizon.net
Thu Jul 6 20:17:17 CEST 2006


>From: markleeds at verizon.net
>Date: Thu Jul 06 13:16:42 CDT 2006
>To: markleeds at verizon.net
>Subject: as.data.frame question

>hi all : as a result of an lapply command,
>i get the following output.
>
>
>$AAA
>     000106   000107  000108
>        5.5     6.5    3.0
>
>$BBB
>     000106   000107   000108
>        4         5     6
>
>$CCC 
>      000106   000107  000108
>        7        8       9
>
>does someone know how to turn this output into a dataframe
>( or matrix, that's fine also ) like the following :
>
>                 AAA   BBB   CCC
>
>      000106      5.5   4     7
>      000107      6.5   5     8 
>      000108      3.0   6     9
>
>i've tried sooooo many things with no luck. thanks a lot.



More information about the R-help mailing list