One of the first things that you probably want to do once you create or convert your data to a ts or mts format is to visualize it. This step is a quick sanity check to make sure that your data looks like you expect it would and to identify outliers, seasonality, and other patterns within your data. There are two approaches for visualizing a time series object:
- Direct: This approach uses a visualization function to plot the object without any data transformation or conversion to another class. There are few packages that provide direct tools for visualizing time series objects. In this chapter, we will focus on three packages:
- stats: In addition to the ts objects, this provides the plot.ts function for visualizing time series objects. This function is an extension of the plot function, which is an R built-in visualization function.
- dygraphs: This...