View source: R/fidelity_funs_get-neighborhoods.R
get_neighbors | R Documentation |
Function to create a map of neighboring cells in a raster within a user-defined perceptual range distance of each cell.
get_neighbors(lands, prange)
lands |
Raster of habitat quality. |
prange |
Numeric. Perceptual range radius. Units match the units of the coordinates: m if UTM, degrees if lat/long. |
A list with one element per raster cell. Each element contains the identifiers of neighboring cells within the specified perceptual range.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.