Description Usage Arguments Value Author(s) See Also Examples
Calculate long-term means from an input 'RasterStack' (or 'RasterBrick')
object. Ideally, the number of input layers should be divisable by the
supplied cycle.window
. For instance, if x
consists of monthly
layers, cycle.window
should be a multiple of 12.
1 | longtermMeans(x, cycle.window = 12L)
|
x |
A 'RasterStack' (or 'RasterBrick') object. |
cycle.window |
'integer'. See |
If cycle.window
equals nlayers(x)
(which obviously doesn't make
much sense), a 'RasterLayer' object; else a 'RasterStack' object.
Florian Detsch
1 2 3 | data("australiaGPCP")
longtermMeans(australiaGPCP)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.