【发布时间】:2022-01-15 04:37:23
【问题描述】:
我需要在我的数据集中为每个时间序列(列)制作多个单独的图:
https://github.com/rhozon/datasets/raw/master/multiple_time_series_dataset.csv
我想到了一些循环遍历每一列并单独绘制每个图表的 for 循环。
ggplot(df, aes(x = timestamp,
y = for loop for each column) ) +
geom_line()
如何通过为数据集的每一列生成时间图来节省时间?
【问题讨论】:
标签: r ggplot2 time-series data-visualization gplots