Skip to content

Instantly share code, notes, and snippets.

@hrbrmstr
Created March 12, 2014 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hrbrmstr/9519227 to your computer and use it in GitHub Desktop.
Save hrbrmstr/9519227 to your computer and use it in GitHub Desktop.
library(sltl)
out <- sltl(as.timeSeries(co2),
c.window=101,
c.degree=1,
type="monthly")
summary(out)
plot.sltl(out)
> summary(out)
Call:
sltl(x = as.timeSeries(co2), c.window = 101, c.degree = 1, type = "monthly")
Time Series Components:
seasonal trend remainder
Min. :-3.3738 Min. :315.7 Min. :-1.23151
1st Qu.:-1.5627 1st Qu.:323.5 1st Qu.:-0.24195
Median : 0.2033 Median :335.3 Median : 0.00947
Mean :-0.0835 Mean :337.1 Mean : 0.00000
3rd Qu.: 1.5536 3rd Qu.:350.4 3rd Qu.: 0.25539
Max. : 2.9479 Max. :364.7 Max. : 1.41794
Other Components:
window : [1] 101
degree : [1] 1
Fm : [1] 6
Fs : [1] 0
@hrbrmstr
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment