Description Usage Arguments Details Value Examples
Performs differencing with lag=1.
1 | prep.detrend.differencing(tserie, nd = NULL)
|
tserie |
a |
nd |
number of differences to apply. As default its value is NULL; in this case, the function will perform an automatic estimation of |
If no number of differences is specified, the function will make an estimation
of the number of differences needed based on unit root test provided by forecast::ndiffs
A list is returned containing:
tserie |
Transformed ts object. |
nd |
Number of differencies applied. |
firstvalues |
Lost values after differencing. |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.