summary.stl: Summarizing seasonal decomposition

Description Usage Arguments Details Examples

Description

Summary method for class "stl".

Usage

1
2
## S3 method for class 'stl'
summary(object, digits = getOption("digits"), ...)

Arguments

object

an object of class "stl"

digits

the number of significant digits to use when printing

...

further arguments passed to or from other methods

Details

This function is a slight modification to stats:::summary.stl, the main change being the addition of the variance statistic, which can be considered a parametric (normal) compliment to the existing IQR statistic.

Examples

1
2
3
4
5
6
7
8
set.seed(1)
x <- ts(rnorm(1e4, sd=1), frequency=12)
a <- stl(x, s.window="periodic")
stats:::summary.stl(a)
summary(a)

b <- stl(co2, s.window="periodic")
summary(b)

AkselA/R-ymse documentation built on March 21, 2020, 9:52 a.m.