In this chapter, we introduced two of the most advanced classes for time series data in R, the zoo and xts classes, and their applications. It is safe to claim that working with those objects, in particular, the xts class, is more friendly and convenient than the ts class. Their unique structure of data frames and well-organized time indices gives users seamless preprocessing and faster data querying. Furthermore, the zoo and xts packages have rich functionality and applications; more than we can cover in one chapter. Therefore, it is highly recommended that you look at the documentation and vignettes of the packages for more information.
In the next chapter, we will look at the decomposition of time series data process.