est_trend: Estimates the trend of 'ts' using a robust discrete cosine...

Description Usage Arguments Value

View source: R/utils.R

Description

Estimates the trend of ts using a robust discrete cosine transform.

Usage

1
est_trend(ts, robust = TRUE)

Arguments

ts

A numeric vector to detrend.

robust

Should a robust linear model be used? Default FALSE.

Value

The estimated trend.


muschellij2/clever documentation built on Sept. 26, 2020, 3:54 p.m.