Auxiliary function that generates periodicity dummies (e.g. seasonal dummies) for regular time series. The function is similar to, but more general than, the
seasonaldummy function in the forecast package.
a regular time series (vector or matrix)
numeric of length 1 (default) or numeric vector of length equal to frequency(x)
A matrix of class zoo with the periodicity dummies
Genaro Sucarrat, http://www.sucarrat.net/
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.