Learn R Programming

tsissm (version 1.0.1)

tsspec.tsissm.estimate: Model Specification Extractor

Description

Extracts a model specification (class “tsissm.spec”) from an object of class “tsissm.estimate”.

Usage

# S3 method for tsissm.estimate
tsspec(
  object,
  y = NULL,
  lambda = NULL,
  xreg = NULL,
  parameters = "initial",
  ...
)

Value

An object of class “tsissm.spec”.

Arguments

object

an object of class “tsissm.estimate”.

y

an optional new xts vector.

lambda

an optional lambda parameter for the Box Cox transformation (if previously used).

xreg

an optional matrix of regressors.

parameters

whether to set the parameters to their initial values, “initial” or the optimally estimated “optimal”.

...

not currently used.