Description Usage Arguments Value Author(s) See Also
Function to calculate a trend vector for a time series.
1 2 | theil_sen_trend_vector(df, variable = "value", deseason = FALSE,
auto_correlation = FALSE, df_trend = NA)
|
df |
Input data frame. |
variable |
Variable to test. |
deseason |
Should the time series be deseaonsalised before the trend test is conducted? |
auto_correlation |
Should auto correlation be considered in the estimates? |
df_trend |
An existing trend data frame from
|
Numeric vector with the length of nrow(df)
.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.