Description Usage Arguments Value
View source: R/focal_bylayer.R
Apply's raster's focal function to layers in a brick or stack. See help for focal for more information on paramater behaviour.
| 1 2 3 4 5 6 7 8 9 10 11 | 
| x | A RasterBrick or RasterStack | 
| w | Focal weights as required by  | 
| fun | Function to apply to value in focal region | 
| na.rm | If TRUE NA values removed from computations. | 
| pad | Passed to  | 
| padValue | Passed to  | 
| NAonly | Passed to  | 
| cl | a cluster for parallel computation created par parallel. If NULL then no parallel computations will occur. | 
A RasterBrick with each layer the output raster::focal() applied to a layer of the input brick
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.