Find.ngb.wo.obstacle: Find neighbours without obstacles in different directions

Description Usage Arguments Value

View source: R/Calculate_distances_functions.R

Description

Find neighbours without obstacles in different directions

Usage

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
)

Arguments

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

Value

matrix with all neighbours of each cell that are not NA


statnmap/GeoDist documentation built on Feb. 4, 2020, 8:34 p.m.