Description Usage Arguments Value Author(s) See Also Examples
Produces a ggplot object of seasonally decomposed time series for objects of
class “stl
” (created with stl
), class
“seas
” (created with seas
), or class
“decomposed.ts
” (created with decompose
).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## S3 method for class 'decomposed.ts'
autoplot(object, labels = NULL, range.bars = NULL,
...)
## S3 method for class 'stl'
autoplot(object, labels = NULL, range.bars = TRUE, ...)
## S3 method for class 'StructTS'
autoplot(object, labels = NULL, range.bars = TRUE, ...)
## S3 method for class 'seas'
autoplot(object, labels = NULL, range.bars = NULL, ...)
## S3 method for class 'mstl'
autoplot(object, ...)
|
object |
Object of class “ |
labels |
Labels to replace “seasonal”, “trend”, and “remainder”. |
range.bars |
Logical indicating if each plot should have a bar at its
right side representing relative size. If |
... |
Other plotting parameters to affect the plot. |
Returns an object of class ggplot
.
Mitchell O'Hara-Wild
seas
, stl
,
decompose
, StructTS
,
plot.stl
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.