state.sizes {bsts} | R Documentation |
Returns a vector containing the size of each state component (i.e. the state dimension) in the state vector.
StateSizes(state.specification)
state.specification |
A list containing state specification
components, such as would be passed to |
A numeric vector giving the dimension of each state component.
Steven L. Scott steve.the.bayesian@gmail.com
y <- rnorm(1000) state.specification <- AddLocalLinearTrend(list(), y) state.specification <- AddSeasonal(state.specification, y, 7) StateSizes(state.specification)