focal_brick | R Documentation |
Calculate focal stats for each layer in a raster brick
focal_brick(brick, window, fun = mean)
brick |
a raster brick object |
window |
a matrix defining the windo across which to calculate the statistic |
fun |
the function to use when calculating the statistic (mean by default) |
a raster brick with the same extents as brick
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.