The function creates an anomaly RasterStack either based on the
overall mean of the original stack, or a supplied reference RasterLayer.
For the creation of seasonal anomalies use deseason.
Usage
anomalize(x, reference = NULL, ...)
Arguments
x
a RasterStack
reference
an optional RasterLayer to be used as the reference
...
additional arguments passed to calc (and, in turn,
writeRaster) which is used under the hood