Description Usage Arguments Details Value See Also
Calculate focal ("moving window") weight matrix for use in the function focal
. The weights are proportional to the inverse of the Euclidean-distances.
1 | focalWeight_inverse(rs, nbs)
|
rs |
A vector of length two. The resolution of a raster object. |
nbs |
A numerical value. The distance of the circular weights matrix in raster units. |
Modified from raster:::.circular.weight
A square matrix. The sum of the values adds up to one.
focalWeight
and focal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.