ptNei: returns list of point neigbors for each point

Description Usage Arguments Value Examples

Description

returns list of point neigbors for each point

Usage

1
ptNei(neighBool)

Arguments

neighBool

numeric, boolean neighborhood matrix for pts

Value

a list of pt neigbors for each pt

Examples

1
2
3
4
5
6
7
data(mapTest) # simulated data
grid=genEmptyGrid(calStep(2000,1,1),1,1)
nbP= grid$nx*grid$ny
neighBool=matrix(logical(nbP^2),nbP,nbP)
resVoronoi=voronoiPolygons(mapTest$krigData,c(0,1,0,1),neighBool)
neighBool=resVoronoi$neighBool
listeNpt=ptNei(neighBool)

geozoning documentation built on May 2, 2019, 9:43 a.m.