anomalize | R Documentation |
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()
.
anomalize(x, reference = NULL, ...)
x |
a RasterStack |
reference |
an optional RasterLayer to be used as the reference |
... |
additional arguments passed to |
an anomaly RasterStack
deseason()
, denoise()
, raster::calc()
data(australiaGPCP)
aus_anom <- anomalize(australiaGPCP)
opar <- par(mfrow = c(1,2))
plot(australiaGPCP[[10]], main = "original")
plot(aus_anom[[10]], main = "anomalized")
par(opar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.