calcWdataRaster: Calculate lagged values for a raster dataset

View source: R/raster_support.R

calcWdataRasterR Documentation

Calculate lagged values for a raster dataset

Description

Calculate lagged values for a raster dataset given a window and an agregation function

Usage

calcWdataRaster(w, dataset, fun, missing_pxl)

Arguments

w

A matrix

dataset

A list of rasters

fun

A string giving the name of a function or a function or "nl" for non-local method

missing_pxl

A boolean vector of missing (FALSE) pixels

Examples

# this is an internal function, no example provided

geocmeans documentation built on Sept. 12, 2023, 9:06 a.m.