Description Usage Arguments Value Author(s) References See Also Examples
The detrend()
function performs a detrending transformation and
removes a trend from the provided time series. detrend.rev()
reverses
the transformation.
1 | detrend(x, trend)
|
x |
A numeric vector or univariate time series of class |
trend |
A numeric vector or univariate time series containing the trend to be removed. Generally, the fitted values of a model object. |
A vector of the same length as x
containing the residuals of
x
after trend removal.
Rebecca Pontes Salles
R. H. Shumway, D. S. Stoffer, Time Series Analysis and Its Applications: With R Examples, Springer, New York, NY, 4 edition, 2017.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.