TrendRQ {greenbrown} | R Documentation |
The function computes breakpoints and trends based on quantile regression.
TrendRQ(Yt, tau = 0.5, ...)
Yt |
univariate time series of class |
tau |
quantile to be estimated in quantile regression |
... |
additional arguments (currently not used) |
The function returns a list of class "Trend".
Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]
# load a time series of NDVI (normalized difference vegetation index) data(ndvi) ndvi <- window(aggregate(ndvi, FUN=mean), end=1996) plot(ndvi) # calculate trend based on regression to median trd.q05 <- TrendRQ(ndvi) trd.q05 plot(trd.q05) TrendLongestSEG(trd.q05)