admin管理员组文章数量:1122832
I have a list with 28 elements. This is the dput of 1 element:
structure(list(V3 = c("21.0", "21.5", "21.5", "21.5", "22.0",
"22.5", "22.5", "23.0", "23.0", "23.0", "23.5", "24.0", "24.0",
"24.5", "25.0", "25.0", "25.5", "26.0", "26.0", "26.5", "26.5",
"27.0", "27.5", "27.5", "28.0", "28.0", "28.5", "28.5", "29.0",
"29.0", "29.0", "29.5", "29.5", "30.0", "30.0", "30.0", "30.5",
"30.5", "30.5", "31.0", "31.0", "31.0", "31.5", "31.5", "31.5",
"31.5", "32.0", "32.0", "32.0", "32.0", "32.5", "32.5", "32.5",
"32.5", "32.5", "32.5", "32.5", "32.5", "32.5")), class = "data.frame", row.names = c(NA,
-59L))
All 28 elements have the same structie (1 column with the same name). I would like to plot all these elements using a simple line graph but then in MULTIPLE plots. The output should thus be 28 plots with the values on the Y-axis and then a horizontal line in each graph where the Y-axis has the value 2.
I have tried lapply(list.files, plot)
but this doesn't work.
Thanks a lot!
本文标签: rMultiple plots based on list elementsStack Overflow
版权声明:本文标题:r - Multiple plots based on list elements - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736311152a1934638.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论