TrendPoly {greenbrown}R Documentation

Trend estimation based on a 4th order polynomial

Description

The function computes a trend based on a 4th order polynomial function.

Usage

TrendPoly(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 <- TrendPoly(ndvi)
trd
plot(trd)


[Package greenbrown version 2.4.3 Index]