Permalink
Browse files

Forecast for Toeplitz SSA is identical with forecast fo 1d-SSA

  • Loading branch information...
1 parent 54daaeb commit af0e2fa229f763bcf7cd13a45ce5a136f692316b @eodus committed with asl Apr 27, 2012
Showing with 7 additions and 0 deletions.
  1. +3 −0 NAMESPACE
  2. +4 −0 R/forecast.R
View
@@ -80,8 +80,11 @@ S3method("plot", wcor.matrix)
S3method("clusterify", wcor.matrix)
S3method("clusterify", ssa)
S3method("lrf", "1d-ssa")
+S3method("lrf", "toeplitz-ssa")
S3method("rforecast", "1d-ssa")
+S3method("rforecast", "toeplitz-ssa")
S3method("vforecast", "1d-ssa")
+S3method("vforecast", "toeplitz-ssa")
S3method("roots", "lrf")
S3method("plot", "lrf")
S3method("plot", "hmatr")
View
@@ -178,6 +178,10 @@ apply.lrf <- function(F, lrf, len = 1) {
out
}
+"lrf.toeplitz-ssa" <- `lrf.1d-ssa`;
+"vforecast.toeplitz-ssa" <- `vforecast.1d-ssa`;
+"rforecast.toeplitz-ssa" <- `rforecast.1d-ssa`;
+
rforecast.ssa <- function(x, groups, len = 1,
base = c("reconstructed", "original"),
..., cache = TRUE) {

0 comments on commit af0e2fa

Please sign in to comment.