trendOptim {RGAP} | R Documentation |
Finds the most suitable trend model according to the BIC.
trendOptim(x, opt = c("RW1", "RW2", "DT"))
x |
A time series. |
opt |
A character vector with the trend models to be tested. The default is
|
A character string with the chosen trend model.