Hi song song,
Try this:
do.call(rbind, yourlist)
HTH,
Jorge
On Wed, Apr 28, 2010 at 6:12 PM, song song <rprojecthelp@gmail.com> wrote:
> hi,everybody: I get a list as following. For each element of the list, it
> has names such as "Var1" and "Freq". May I ask how to
remove them?
> And, may I ask how to make them form a matrix such as like concatinating
> them?
>
> Thank you!
>
> The list I got:
>
> [[1]]
> Var1 Freq
> 1 -5.20726501684368 19
> 2 1.89099344331540 31
>
> [[2]]
> Var1 Freq
> 1 -5.20726501684368 19
> 2 1.85852674397493 31
>
> [[3]]
> Var1 Freq
> 1 -5.20726501684368 19
> 2 1.85852674397493 31
>
> [[4]]
> Var1 Freq
> 1 -5.20726501684368 19
> 2 1.85852674397493 31
>
> [[5]]
> Var1 Freq
> 1 -5.20726501684368 19
> 2 1.85852674397493 31
>
>
>
> The Matrix I Want:
>
> 1 -5.20726501684368 19
> 2 1.89099344331540 31
> 1 -5.20726501684368 19
> 2 1.85852674397493 31
> 1 -5.20726501684368 19
> 2 1.85852674397493 31
> 1 -5.20726501684368 19
> 2 1.85852674397493 31
> 1 -5.20726501684368 19
> 2 1.85852674397493 31
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]