TrendRQ {greenbrown}R Documentation

Trend estimation based on quantile regression

Description

The function computes breakpoints and trends based on quantile regression.

Usage

TrendRQ(Yt, tau = 0.5, ...)

Arguments

Yt

univariate time series of class ts

tau

quantile to be estimated in quantile regression

...

additional arguments (currently not used)

Value

The function returns a list of class "Trend".

Author(s)

Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]

See Also

Trend, TrendAAT

Examples

# 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)



[Package greenbrown version 2.4.3 Index]