precache: Calculates and caches elementary components inside SSA object

View source: R/ssa.R

precacheR Documentation

Calculates and caches elementary components inside SSA object

Description

Calculates all the elementary series and saves inside SSA object. After this the grouping procedure can be performed much faster.

Usage

precache(x, n, ...)

Arguments

x

SSA object

n

integer, number of series to calculate and save

...

further arguments passed to the reconstruction routines

Note

In most cases it is not necessary to call this routine directly. By default functions from the package collect all elementary series they encounter during the calculations.

See Also

reconstruct

Examples

# Decompose 'co2' series with default parameters
s <- ssa(co2)
summary(s)
# Precache the stuff
precache(s)
summary(s)

Rssa documentation built on Sept. 11, 2024, 7:20 p.m.