在 R 中可视化时间序列数据
Arnaud Amsellem
Quantitative Trader and creator of the R Trader blog
Date、POSIX Time、timeDate、chron
plot()plot.xts()xts 时,可用 plot() 代替 plot.xts()
plot(my_ts)

plot(my_ts, main = "my first time series")
lines(my_ts, col = "red", lwd = 2)

plot(my_ts, main = "my first time series",
sub = "from Sep. 2008 to Dec. 2016")
lines(my_ts, col = "red", lwd = 2)
在 R 中可视化时间序列数据