Creates annulus focal window around central pixel.
annulus_window(radius, unit, resolution)
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'.
radius of inner annulus c(inner,outer). Inner radius must be less than or equal to outer radius.
unit for radius. Either "cell" (number of cells, the default) or "map" for map units (e.g. meters).
resolution of intended raster layer (one number or a vector of length 2). Only necessary if unit= "map"