plot.tsaggregates: Plot time series aggregates

View source: R/plot.tsaggregates.R

plot.tsaggregatesR Documentation

Plot time series aggregates

Description

Plots all temporal aggregations of a time series

Usage

## S3 method for class 'tsaggregates'
plot(x, series = "all", ...)

## S3 method for class 'tsaggregates'
autoplot(object, series = "all", ...)

Arguments

x

tsaggregates object, produced by tsaggregates.

series

The indexes of the series to plot. By default, all series are plotted.

...

Other arguments passed to plot.ts or autoplot.ts.

object

tsaggregates object, produced by tsaggregates.

Author(s)

Rob J Hyndman

Examples

deathagg <- tsaggregates(USAccDeaths)
plot(deathagg, series=c(1,2,4,6))

library(ggplot2)
autoplot(deathagg)


robjhyndman/thief documentation built on July 31, 2023, 2:15 a.m.