Description Usage Arguments Value
View source: R/vx_mean_focal.R
Focal (moving window) mean
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)
|
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)? |
RasterStack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.