转换几个数据框中的列表

时间:2017-11-15 16:06:38

标签: r

我有一个包含不同元素的列表:

df1 <- data.frame(a = c(1,2,3))
df2 <- data.frame(a = c(1,2,3), b = c("a","b","c"))
df3 <- data.frame(col = c("a","c","f","h","j"), col1 = c("a1","c2","f3","h4","j5"))
aList <- list(df1,df2,df3)

我想为列表的每个元素都有一个数据框。基本上我希望aList返回df1df2df3

0 个答案:

没有答案