Description Usage Arguments Examples
A function that uses the average of the previous n values as the independent variable in a linear regression model.
1 | lagLinearFUN(x, obs, lags = 3)
|
obs |
The column under investigation. |
lags |
The number of lags to go back and average over. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.