Description Usage Arguments Value
View source: R/Calculate_distances_functions.R
Find neighbours without obstacles in different directions
1 2 3 4 5 6 7 8 | Find.ngb.wo.obstacle(
i,
r.ref,
coords.r,
r.ref.NA.nb,
cell.Relpos.ngb,
cell.Relpos.cross
)
|
i |
cell number |
r.ref |
reference raster |
coords.r |
coordinates of the reference raster |
r.ref.NA.nb |
Numerotation of NA ref.raster cells |
cell.Relpos.ngb |
Relative position of neighbours in the moving window |
cell.Relpos.cross |
Numerotation of positions of neighbours of the moving window |
matrix with all neighbours of each cell that are not NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.