ts
R/utils.R
est_trend.Rd
Estimates the trend of ts using a robust discrete cosine transform.
est_trend(ts, robust = TRUE)
A numeric vector to detrend.
Should a robust linear model be used? Default FALSE.
The estimated trend.