theil_sen_prewhiten: Function to calculate the Thiel-Sen estimate of slope after...

Description Usage Arguments Value Author(s)

View source: R/non_parametric_linear_regression_functions.R

Description

The prewhitening algorithm helps deal with autocorrelation.

Usage

1
theil_sen_prewhiten(x, method = "yuepilon", round = 6, plot = FALSE)

Arguments

x

Vector of data. This will usually be a padded timeseries.

method

Prewhitening method to use. Can be "yuepilon" or "zhang" and default is "yuepilon".

round

Returned coefficients precision. Default is 6 dp.

Value

Data frame of coefficients.

Author(s)

Stuart K. Grange


skgrange/enlightenr documentation built on May 30, 2019, 1:03 a.m.