Reader small image

You're reading from  Hands-On Time Series Analysis with R

Product typeBook
Published inMay 2019
Reading LevelBeginner
PublisherPackt
ISBN-139781788629157
Edition1st Edition
Languages
Right arrow
Author (1)
Rami Krispin
Rami Krispin
author image
Rami Krispin

Rami Krispin is a data scientist at a major Silicon Valley company, where he focuses on time series analysis and forecasting. In his free time, he also develops open source tools and is the author of several R packages, including the TSstudio package for time series analysis and forecasting applications. Rami holds an MA in Applied Economics and an MS in actuarial mathematics from the University of MichiganAnn Arbor.
Read more about Rami Krispin

Right arrow

Plotting zoo and xts objects

As we discussed in the previous chapter, there are two main approaches for plotting time series objects such as the zoo and xts objects:

  • Direct: Using built-in or customized functions to visualize either the zoo or xts objects, such as plot.zoo and plot.xts functions, or other visualization tools from the TSstudio or dygraph packages
  • Indirect: By transforming or reformatting the structure of the object and using some data visualization packages, such as ggplot2, plotly, and rbokeh
Note that plotting the zoo or xts objects with the TSstudio or dygraph packages follows the exact same process as we demonstrated in the previous chapter with the ts object. Therefore, to avoid redundancy, we will focus in this section only on the built-in visualization functions of the zoo and xts packages.

The use of either approach depends on the user's needs and...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Time Series Analysis with R
Published in: May 2019Publisher: PacktISBN-13: 9781788629157

Author (1)

author image
Rami Krispin

Rami Krispin is a data scientist at a major Silicon Valley company, where he focuses on time series analysis and forecasting. In his free time, he also develops open source tools and is the author of several R packages, including the TSstudio package for time series analysis and forecasting applications. Rami holds an MA in Applied Economics and an MS in actuarial mathematics from the University of MichiganAnn Arbor.
Read more about Rami Krispin