Description Usage Arguments Details Value Author(s) See Also Examples
autoplot
takes an object of type ts
or mts
and creates
a ggplot object suitable for usage with stat_forecast
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
object |
Object of class “ |
series |
Identifies the time series with a colour, which integrates well with the functionality of geom_forecast. |
xlab |
a string with the plot's x axis label. By default a NUll value. |
ylab |
a string with the plot's y axis label. By default a counts" value. |
main |
a string with the plot's title. |
facets |
If TRUE, multiple time series will be faceted (and unless specified, colour is set to FALSE). If FALSE, each series will be assigned a colour. |
colour |
If TRUE, the time series will be assigned a colour aesthetic |
... |
Other plotting parameters to affect the plot. |
model |
Object of class “ |
data |
Not used (required for fortify method) |
fortify.ts
takes a ts
object and converts it into a data frame
(for usage with ggplot2).
None. Function produces a ggplot2 graph.
Mitchell O'Hara-Wild.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.