angelonardone / TSstudio

Tools for time series analysis and forecasting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TSstudio

The TSstudio package provides a set of interactive visualization tools for time series analysis and forecasting.

Overview

The TSstudio package provides a set of tools for time series analysis, supporting “ts”, “mts”, “zoo”, and “xts” objects. It includes interactive visualizations tools based on the plotly package for descriptive time series analysis. In addition for the visualization tools, the package provides a set of utility functions for preprocessing time series objects.

All the visualization tools in the package, support multiple time series objects (“ts”, “mts”, “zoo”, “xts” and model output from the forecast package) without the need of any data transformation. They include the following plots:

  1. Visualization of time series objects (ts_plot)
  2. Seasonality plots (ts_seasonal)
  3. Heatmap, surface and polar plots (ts_heatmap, ts_surface, ts_polar)
  4. Lags and correlation plots (ts_lags, ts_acf, ts_pacf)
  5. Decompose plot (ts_decompose)
  6. Residual plot (check_res)
  7. Forecast performance (test_forecast)

Besides the visualization functions, there are set of utility functions:

  1. ts_split - for splitting time series object to training and testing partitions
  2. ts_reshape - transforming time series objects to year/cycle unit data frame format
  3. xts_to_ts and zoo_to_ts - functions for transforming xts or zoo objects to ts format

Note: most of the current functions support only monthly and quarterly frequencies, the plan is to expend the ability to lower frequencies such as daily and hourly in the next release

Examples

A detailed examples of the package's key functions is available here.

The TSstudio package

Installation

Install the stable version from CRAN:

install.packages("TSstudio")

or install the development version from Github:

# install.packages("devtools")
devtools::install_github("RamiKrispin/TSstudio")

About

Tools for time series analysis and forecasting

License:GNU General Public License v3.0


Languages

Language:R 100.0%