Learn R Programming

geocmeans (version 0.3.4)

calcWdataRaster: 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

Run this code
# this is an internal function, no example provided

Run the code above in your browser using DataLab