TrendLongestSEG {greenbrown} | R Documentation |
This function extracts the slope and p-value of a trend for the longest time series segment from a raster brick that was created with TrendRaster
TrendLongestSEG(r)
r |
|
Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]
# load a multi-temporal raster dataset of Normalized Difference Vegetation Index data(ndvimap) plot(ndvimap, 8) # calculate trend trendmap <- TrendRaster(ndvimap, start=c(1982, 1), freq=12, method="AAT", breaks=1) plot(trendmap) # select trend and p-value only for the longest time series segment trendmap.longestseg <- TrendLongestSEG(trendmap) plot(trendmap.longestseg)