TrendRunmed: Trend estimation based on a running median

Description Usage Arguments Value Author(s) See Also Examples

Description

The function computes a non-linear trend based a running median.

Usage

1
2
TrendRunmed(Yt, k = NULL, 
    ...)

Arguments

Yt

univariate time series of class ts

k

integer width of median window; must be odd. If NULL a window size of 20 years (i.e. frequency * 20) will be used.

...

additional arguments (currently not used)

Value

The function returns a list of class "Trend".

Author(s)

Matthias Forkel <matthias.forkel@tu-dresden.de> [aut, cre]

See Also

stl

Examples

1
2
3
4
# calculate trend on mean annual NDVI values
trd <- TrendRunmed(ndvi)
trd
plot(trd)

greenbrown documentation built on Dec. 18, 2020, 3:02 p.m.