vx_mean_focal: Focal (moving window) mean

Description Usage Arguments Value

View source: R/vx_mean_focal.R

Description

Focal (moving window) mean

Usage

1
2
vx_mean_focal(s, d, mem_share = 0.5, n_cores = NULL,
  window_type = "circle", d_in_cells = FALSE, mem_of_total = FALSE)

Arguments

s

Input RasterStack

d

Size of focalWeight matrix. See ?focalWeight

mem_share

Share of memory to be used

n_cores

Number of cores used for parallel processing. Default is NULL, indicating no parallelization.

window_type

Type of moving window. See ?focalWeight

d_in_cells

Is 'd' specified in number of cells?

mem_of_total

Is 'mem_share' specified as share of total memory (instead of currently available)?

Value

RasterStack


juoe/vxr documentation built on April 24, 2020, 12:56 a.m.