Usage
## S3 method for class '1d.ssa':
rforecast(x, groups, len = 1, base = c("reconstructed", "original"),
only.new = TRUE, reverse = FALSE, ...,
drop = TRUE, drop.attributes = FALSE, cache = TRUE)
## S3 method for class 'toeplitz.ssa':
rforecast(x, groups, len = 1, base = c("reconstructed", "original"),
only.new = TRUE, reverse = FALSE, ...,
drop = TRUE, drop.attributes = FALSE, cache = TRUE)
## S3 method for class 'mssa':
rforecast(x, groups, len = 1, base = c("reconstructed", "original"),
direction = c("row", "column"), only.new = TRUE, ..., drop = TRUE,
drop.attributes = FALSE, cache = TRUE)
## S3 method for class 'cssa':
rforecast(x, groups, len = 1, base = c("reconstructed", "original"),
only.new = TRUE, reverse = FALSE, ...,
drop = TRUE, drop.attributes = FALSE, cache = TRUE)
## S3 method for class 'pssa':
rforecast(x, groups, len = 1, base = c("reconstructed", "original"),
only.new = TRUE, reverse = FALSE, ...,
drop = TRUE, drop.attributes = FALSE, cache = TRUE)Arguments
x
SSA object holding the decomposition
groups
list, the grouping of eigentriples to be used in the forecast
len
integer, the desired length of the forecasted series
base
series used as a 'seed' of forecast: original or
reconstructed according to the value of groups argument
direction
direction of forecast in multichannel SSA case, "column"
stands for so-called L-forecast and "row" stands for K-forecast
only.new
logical, if 'TRUE' then only forecasted values are returned,
whole series otherwise
reverse
logical, direction of forecast in 1D SSA case, 'FALSE'
(default) means that the forecast moves forward in the time and
'TRUE' means the opposite
drop
logical, if 'TRUE' then the result is coerced to series
itself, when possible (length of 'groups' is one)
drop.attributes
logical, if 'TRUE' then the attributes of the input series
are not copied to the reconstructed ones.
cache
logical, if 'TRUE' then intermediate results will be
cached in the SSA object.