powered by
calZoneN
calZoneN(ptN, zoneN, listZonePoint)
pt neighborhood Logical matrix
empty zone neighborhood Logical matrix
list of indices of data points within zones
a list with component zoneN holding filled zone neighborhood Logical matrix
calculate zone neighborhood
# NOT RUN { data(mapTest) data(resZTest) K=resZTest ptN=mapTest$krigN nZ=length(K$zonePolygone) zoneN=matrix(logical(nZ*nZ),nZ,nZ) listZonePoint=K$listZonePoint calZoneN(ptN,zoneN,listZonePoint) # }
Run the code above in your browser using DataLab