Description Usage Arguments Value Author(s) See Also Examples
This function computes statistical properties of the time series in a multi-temporal raster dataset. It calls Decompose
to decompose the time series of each grid cell of a raster brick into a trend, inter-annual variability, seasonal and short-term variability time series components. In a next step the mean, the trend slope, the range and standard deviation of the inter-annual variability, the range of the seasonal cycle as well as the range and standard devaition of the short-term variability are calculated.
1 2 3 | GetTsStatisticsRaster(r,
start = c(1982, 1),
freq = 12)
|
r |
object of class |
start |
first time step, e.g. c(1982, 1) for January 1982. See |
freq |
the number of observations per unit of time, e.g. 12 for monthly data or 24 for bi-monthly data. See |
The function returns a RasterBrick with 7 layers: mean, trend slope, range of inter-annual variabililty, standard deviation of inter-annual variabililty, range of seasonal cycle, range and standard deviation of short-term variabililty.
Matthias Forkel <matthias.forkel@tu-dresden.de> [aut, cre]
1 2 3 | # # calculate time series statistics
# ndvimap.tsstat <- GetTsStatisticsRaster(ndvimap)
# plot(ndvimap.tsstat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.