Description Usage Arguments Details Value Author(s) Examples
A wrapper for ineigh to get raster neighbor indices.
1 | rneigh(i, raster, neigh=1, rm.focal=T)
|
i |
Source pixel ID number. |
raster |
The raster object to extract row and column numbers. |
neigh |
The number of neighbors to get. |
rm.focal |
Remove the focal pixel from the results? |
This is a wrapper for ineigh that simplifies getting the neighbors of a pixel in a raster object.
A vector with integer indices.
Pedro Tarroso
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.