deseason: Remove seasonality from raster time series

Description Usage Arguments Value Author(s) References Examples

View source: R/deseason.R

Description

Removes seasonality from time series of scaled, temporal aggregated and filled (= NA-free) rasters (f.ex. NDVI-time-series)

Usage

1
deseason(rstack, outFilePath, cycle.window = 24L)

Arguments

rstack

raster stack of scaled, temporal aggregated and filled (= NA-free) rasters = output of function "fill_gaps_lin" following folder structure of 00_set_environment.R this would mean: all rasters in path "path_modis_filled_tiles"

outFilePath

see compileOutFilePath()

cycle.window

as integer (with "L" in the end of the number, f.ex.: 12L), 12L means monthly anomalies, 24L := half a months, 6L := half a year, etc.

Value

writes out deseasonalized rasters

Author(s)

Johannes Schnell, Laura Giese

References

Nauss, T., Detsch, F.

Examples

1
2
3
4
## Not run: 
deseason(your_raster_stack, outFilePath, 12L)

## End(Not run)

marburg-open-courseware/beechForestDynamics documentation built on May 7, 2019, 3:14 p.m.