powered by
getZonePts
getZonePts(ptsp, zone)
SpatialPointsDataFrame with data values
SpatialPolygons defining a zone
a list with components
SpatialPointsDataFrame with the data points within the zone
Logical vector of the within zone data points indices
get all data points within a zone
# NOT RUN { data(resZTest) K=resZTest Z=K$zonePolygone data(mapTest) ptsp=mapTest$krigData res=getZonePts(ptsp,Z[[5]]) plotZ(Z) points(res$pts,col="blue",pch=20) # }
Run the code above in your browser using DataLab