theil_sen_trend_vector: Function to calculate a trend vector for a time series.

Description Usage Arguments Value Author(s) See Also

Description

Function to calculate a trend vector for a time series.

Usage

1
2
theil_sen_trend_vector(df, variable = "value", deseason = FALSE,
  auto_correlation = FALSE, df_trend = NA)

Arguments

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 theil_sen_trend_test. An optional argument.

Value

Numeric vector with the length of nrow(df).

Author(s)

Stuart K. Grange

See Also

theil_sen_trend_test


skgrange/normalweatherr documentation built on May 23, 2019, 9:34 a.m.