anomalize: Create an anomaly RasterStack

Description Usage Arguments Value See Also Examples

Description

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

1
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

Value

an anomaly RasterStack

See Also

deseason, denoise, calc

Examples

1
2
3
4
5
6
7
8
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)

Example output

Loading required package: Rcpp
Loading required package: raster
Loading required package: sp

remote documentation built on May 1, 2019, 11:30 p.m.