plot.tsaggregates: Plot time series aggregates

Description Usage Arguments Author(s) Examples

View source: R/plot.tsaggregates.R

Description

Plots all temporal aggregations of a time series

Usage

1
2
3
4
5
## 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

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

library(ggplot2)
autoplot(deathagg)

thief documentation built on May 30, 2017, 2:34 a.m.