Learn R Programming

Rssa (version 0.8.2)

ssa: Properties of SSA object

Description

Functions to query for number of singular values, eigenvectors and factor vectors stored in the SSA object.

Usage

nlambda(this, ...)
nu(this, ...)
nv(this, ...)

Arguments

this
SSA object to query.
...
further arguments

Value

  • an 'integer' of length 1.

Details

The numbers returned solely depend on used singular value decomposition method and parameters of this method (e.g. 'neig' argument for 'propack' and 'nutrlan' SVD methods).

Examples

Run this code
# Decompose 'co2' series with default parameters
s <- new.ssa(co2, neig = 20)
# Show the number of eigentriples saved in the 's'
print(nlambda(s))

Run the code above in your browser using DataLab