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.


neuroconductor-releases/clever documentation built on Jan. 1, 2021, 11:37 a.m.