Learn R Programming

geozoning (version 1.0.0)

ptInZone: ptInZone

Description

ptInZone

Usage

ptInZone(zone, pts, numpt)

Arguments

zone

SpatialPolygons

pts

data points

numpt

data point indices

Value

1 if point is within zone, 0 if not

Details

description, a paragraph

Examples

Run this code
# NOT RUN {
data(mapTest)
data(resZTest)
Z=resZTest$zonePolygone
ptInZone(Z[[1]],mapTest$krigData,c(5,500))
# }

Run the code above in your browser using DataLab