Description Usage Arguments Value Examples
This function detrends a time series when its linear trend is more significant than a threshold.
1 | detrendc(x, thres = 0.85)
|
x |
a vector or time series. |
thres |
a scalar specifying the threshold. When the adjusted R square coefficient of the linear fitting is larger than this threshold, the linear trend is substracted from the original time series. Default is 0.85. |
detrended x
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.