Description Usage Arguments Value Examples
Estimate low frequency trends via loess regression and remove them. If the function errors, return x (i.e. no trend)
1 | try_detrend(x, outlier_rm = TRUE, span = 0.6)
|
x |
data |
outlier_rm |
T/F, remove outliers to estimate trends? |
span |
span for the loess regression |
Data with trends removed
1 | try_detrend(c(1,3,6,7,9,11,14,15,17,18))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.