View source: R/initialize_states.R
make_default_season_state | R Documentation |
Returns a neutral seasonal state vector. Neutral means a vector of 0s for an additive seasonal component, or a vector of 1s for a multiplicative seasonal component.
make_default_season_state(n, method)
n |
The target length of the state vector |
method |
Are we using an |
A numeric vector of length n
; all zero if additive seasonal
component, all one if multiplicative seasonal component
tulip:::make_default_season_state(n = 14, method = "additive")
tulip:::make_default_season_state(n = 63, method = "multiplicative")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.