Extract variable showing regime
This function allows to extract the indicator variable specifying the regime in which the process is at time t.
regime(object, initVal = TRUE, timeAttr = TRUE, ...)
object |
object of class |
initVal |
Logical. Whether the NA initial values should be returned. Default to TRUE. |
timeAttr |
Logical. Whether the time attributes should be returned. Default to TRUE. |
... |
additional arguments to |
Time series of same attributes as input to setar.
Matthieu Stigler
set<-setar(lynx, m=3) regime(set) regime(set, time=FALSE, initVal=FALSE) plot(regime(set))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.