Learn R Programming

ggseas (version 0.5.4)

ggseas-package: Seasonal decomposition on the fly

Description

ggseas allows you to perform seasonal decomposition on the fly as part of a `ggplot2` pipeline.

Arguments

Details

Two main sets of functions are provided:

  • stat_seas(), stat_stl() and friends do seasonal adjustment, indexing, rolling averages and by default render a line geom. You can consider these as taking the place of geom_line() in the ggplot2 pipeline

  • ggsdc() goes where ggplot() normally does (ie at the beginning of the graphics part of the pipeline) and creates a graphic with four facets for the original data, trend, seasonal and random components

See Also

Useful links: