View source: R/plot.tsaggregates.R
plot.tsaggregates | R Documentation |
Plots all temporal aggregations of a time series
## S3 method for class 'tsaggregates'
plot(x, series = "all", ...)
## S3 method for class 'tsaggregates'
autoplot(object, series = "all", ...)
x |
|
series |
The indexes of the series to plot. By default, all series are plotted. |
... |
Other arguments passed to |
object |
|
Rob J Hyndman
deathagg <- tsaggregates(USAccDeaths)
plot(deathagg, series=c(1,2,4,6))
library(ggplot2)
autoplot(deathagg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.