A Time Series Toolbox for Official Statistics

Plot official statistics' time series conveniently: automatic legends, highlight windows, stacked bar chars with positive and negative contributions, sum-as-line option, two y-axes with automatic horizontal grids that fit both axes and other popular chart types. 'tstools' comes with a plethora of defaults to let you plot without setting an abundance of parameters first, but gives you the flexibility to tweak the defaults. In addition to charts, 'tstools' provides a super fast, 'data.table' backed time series I/O that allows the user to export / import long format, wide format and transposed wide format data to various file types.


News

0.3.6.1: regularize series using NAs, better plot support for NAs, smaller bugfixes 0.3.6: major co-ordination fixes, auto legends fixes. enjoy! 0.3.5.1: CRAN release 0.3.4.2: Improvement of tick handling, more automatic determination 0.3.4: introduced data.table dependency 0.3.3: speedup writeTimeSeries by optionally using data.table's rbindlist 0.3.2: optional data.table read csv for speedup 0.3.1: minor add ons, problems in versions fixed 0.3: function to create regular time series from data.frames 0.2.7.9.1: minor change to unit test to avoid re-import warning with other packages that load openxlsx. 0.2.7.9: added function to turn quarterly to monthly series (interpolate). 0.2.7.8: added function to start after last internal NA.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tstools")

0.3.8 by Matthias Bannert, 6 months ago


Browse source code at https://github.com/cran/tstools


Authors: Matthias Bannert [aut, cre] , Severin Thoeni [aut]


Documentation:   PDF Manual  


GPL-2 license


Imports xts, stats, graphics, jsonlite, data.table

Depends on zoo

Suggests knitr, rmarkdown, testthat, reshape2, openxlsx


See at CRAN