tslinear | R Documentation |
Estimates a simple linear time series model with trend, seasonal and regressors.
tslinear(y, trend = FALSE, seasonal = FALSE, xreg = NULL, frequency = 1, ...)
y |
a vector. |
trend |
whether to include a linear trend. |
seasonal |
whether to include seasonal dummies. |
xreg |
an optional matrix of regressors. |
frequency |
the frequency of the series (required if seasonal is TRUE). |
... |
not currently used. |
An object of class “tslinear” which also inherits “lm”.
Alexios Galanos
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.