deseason | R Documentation |
The function calculates anomalies of a RasterStack by supplying a
suitable seasonal window. E. g. to create monthly anomalies of a
raster stack of 12 layers per year, use cycle.window = 12
.
## S4 method for signature 'RasterStackBrick'
deseason(x, cycle.window = 12L, use.cpp = FALSE, filename = "", ...)
## S4 method for signature 'numeric'
deseason(x, cycle.window = 12L)
x |
An |
cycle.window |
|
use.cpp |
|
filename |
|
... |
Additional arguments passed on to |
If x
is a Raster*
object, a deseasoned
RasterStack
; else a deseasoned numeric
vector.
anomalize
, denoise
data("australiaGPCP")
aus_dsn <- deseason(australiaGPCP, 12)
opar <- par(mfrow = c(1,2))
plot(australiaGPCP[[1]], main = "original")
plot(aus_dsn[[1]], main = "deseasoned")
par(opar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.