Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何整理 R 中不同 Excel 表中保存的月度数据?我只想导入几张工作簿。然后使用 R 聚合和可视化每月趋势?
该问题没有任何数据集示例,但我想您正在尝试询问以下一组内容:
任务1。从 Excel 的各种工作表中读取数据。任务2。将数据整理到一个数据框中,比如 masterdata Task3。为必填字段绘制一些图
Apporch:您可以将多个工作表导入到一个列表中,然后组合列表以获得masterData,在现有问题参考下面的链接中给出了简要讨论:
将 Excel 工作簿中的所有工作表读入带有 data.frames 的 R 列表