Usage
"["(x, element, states, etas, series, times, ...) <- value
"["(x, element, states, etas, series, times, drop = TRUE, ...)
Arguments
x
Object of class SSModel
.
element
Which element(s) is chosen. Typical values are "y"
,
"Z"
, "H"
, "T"
, "R"
, "Q"
, "a1"
,
"P1"
, "P1inf"
, and "u"
. See details.
states
Which states are chosen. Either a numeric vector containing the indices of the
states, or a character vector defining the types of the states. Possible choices are
"all"
, "level"
, "slope"
,
"trend"
, "regression"
, "arima"
, "custom"
,
"cycle"
or "seasonal"
, where "trend"
extracts all states relating to trend.
These can be combined. Default is "all"
.
etas
Which disturbances eta are chosen. Used for elements "R"
and "Q"
.
Either a numeric vector containing the indices of the etas, or a character vector defining the
types of the etas. Possible choices are "all"
, "level"
, "slope"
,
"trend"
, "regression"
, "arima"
, "custom"
,
"cycle"
or "seasonal"
, where "trend"
extracts all etas relating to trend.
These can be combined. Default is "all"
.
series
Numeric. Which series are chosen. Used for elements
"y"
, "Z"
, and "u"
.
times
Numeric. Which time points are chosen.
value
A value to be assigned to x.
drop
Logical. If TRUE
(default) the result is coerced to the lowest possible
dimension.