1 parent fc8e015 commit 056fa0fCopy full SHA for 056fa0f
1 file changed
R/mstl.R
@@ -38,6 +38,7 @@ mstl <- function(
38
warning("Dropping seasonal components with fewer than two full periods.")
39
msts <- msts[msts < n / 2]
40
x <- msts(x, seasonal.periods = msts)
41
+ attr(origx, "msts") <- msts
42
}
43
msts <- sort(msts, decreasing = FALSE)
44
} else if (is.ts(x)) {
0 commit comments