TrendSTL {greenbrown}R Documentation

Trend estimation based on STL (Seasonal Decomposition of Time Series by Loess)

Description

The function computes a non-linear trend based on stl.

Usage

TrendSTL(Yt, ...)

Arguments

Yt

univariate time series of class ts

...

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

stl

Examples

# load a time series of NDVI (normalized difference vegetation index)
data(ndvi)
plot(ndvi)
	
# calculate trend on mean annual NDVI values
trd <- TrendSTL(ndvi)
trd
plot(trd)


[Package greenbrown version 2.4.3 Index]