annulus_window | R Documentation |
Creates annulus focal window around central pixel.
annulus_window(radius, unit, resolution)
radius |
radius of inner annulus c(inner,outer). Inner radius must be less than or equal to outer radius. |
unit |
unit for radius. Either "cell" (number of cells, the default) or "map" for map units (e.g. meters). |
resolution |
resolution of intended raster layer (one number or a vector of length 2). Only necessary if unit= "map" |
a matrix of 1's and NA's showing which cells to include and exclude respectively in focal calculations. It also contains attributes attributes 'unit', 'scale', and 'shape'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.