這裏是清單的外觀:如何將命名向量列表轉換爲R中的數據框?
>>>print(pelist)
[[1]]
Power Type I Error
[1,] 1 0.024339
[[2]]
Power Type I Error
[1,] 0.8 0.038095
[[3]]
Power Type I Error
[1,] 1 0.032804
我能做到這樣,但作爲該列表的大小增長很快變得不切實際:
>>>rbind(pelist[[1]], pelist[[2]], pelist[[3]])
Power Type I Error
[1,] 1.0 0.024339
[2,] 0.8 0.038095
[3,] 1.0 0.032804
這是回答您的問題嗎? http://stackoverflow.com/questions/2851327/r-converting-a-list-of-data-frames-into-one-data-frame – sashkello 2013-04-29 23:18:25
那些列表元素實際上是列名稱的矩陣。 – 2013-04-29 23:36:03