Calculate long-term means from a 'RasterStack'
Calculate long-term means from an input 'RasterStack' (or 'RasterBrick')
object. Ideally, the number of input layers should be divisable by the
cycle.window. For instance, if
x consists of monthly
cycle.window should be a multiple of 12.
longtermMeans(x, cycle.window = 12L)
A 'RasterStack' (or 'RasterBrick') object.
nlayers(x) (which obviously doesn't make
much sense), a 'RasterLayer' object; else a 'RasterStack' object.
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.