Tijdreeksen visualiseren in R
Arnaud Amsellem
Quantitative Trader and creator of the R Trader blog
Date, POSIX Time, timeDate, chron
plot()plot.xts()plot() kan gebruikt worden i.p.v. plot.xts() als het te plotten object een xts is
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)
Tijdreeksen visualiseren in R