nstates: State Dimension of a State Space Model
Description
Extract the state dimension of a state space model object.
Usage
nstates(x)
# S3 method for SS
nstates(x)
# S3 method for ARMA
nstates(x)
# S3 method for TSestModel
nstates(x)
Arguments
x
Object of class TSmodel or TSestModel.
Value
An integer indicating the state dimension.