我正在做一个项目,需要使用 ggplot2 来绘制时间序列数据。这是我正在使用的数据集:
这就是我现在所做的:
library(ggplot2) library(lubridate) eur$Date <- as.Date(eur$Date) ggplot(eur, aes(Date, EUR)) + geom_line()
我得到了这个非常奇怪的情节。有人可以帮我解决这个问题吗?
r time-series ggplot2 lubridate
ggplot2 ×1
lubridate ×1
r ×1
time-series ×1