Description Usage Arguments Value Author(s) See Also Examples
Reduces noise in NDVI time-series through running averaging.
1 | runningAvg(x, window)
|
x |
An object of class ‘NDVI’ containing raw NDVI values. |
window |
Window size of the running averaging algorithm. Default is 7. |
An object of class ‘NDVI’ containing raw and corrected NDVI values.
Daniel Doktor, Maximilian Lange
1 2 3 4 5 6 7 8 9 10 11 | # load data
data(avhrr)
# create NDVI object
ndvi <- new("NDVI", values=avhrr.ndvi/10000, year=as.integer(1995))
# correct values (bise)
ndvi.ravg <- runningAvg(ndvi, window=7)
#plot
plot(ndvi.ravg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.