thief (version 0.3)

plot.tsaggregates: Plot time series aggregates

Description

Plots all temporal aggregations of a time series

Usage

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

# S3 method for 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.

Examples

Run this code
# NOT RUN {
deathagg <- tsaggregates(USAccDeaths)
plot(deathagg, series=c(1,2,4,6))

library(ggplot2)
autoplot(deathagg)

# }

Run the code above in your browser using DataLab