deseasonalizeRaster: Deseasonlize a raster using spatial normalisation

Description Usage Arguments Value Author(s) Examples

View source: R/deseasonalizeRaster.R

Description

Deseasonlize a single raster layer or each individual raster layer in a brick. "Deseasonlized pixel value" = "original pixel value" - "percentile of the distribution of the raster"

Usage

1
deseasonalizeRaster(b, percentile = 0.95, min = NULL, max = NULL)

Arguments

b

raster or raster brick

percentile

percentile of the distribution used to deseasonalize the raster. Values between 0 - 1.

min

minimum value allowed. Values below the minimum are set to NA.

max

maximum value allowed. Values above the maximum are set to NA.

Value

deseasonlized raster layer or raster brick

Author(s)

Johannes Reiche (Wageningen University)

Examples

1
2
3
4
5
6
7
data(s1vv_lndvi_raster)

plot(s1vv,3)

s1vvd <- deseasonalizeRaster(s1vv,p=0.95)

plot(s1vvd,3)

jreiche/bayts documentation built on Feb. 3, 2021, 1:12 a.m.