prevR (version 3.4.0)

point.in.SpatialPolygons: Test if a point falls within a given polygon.

Description

This function tests if one or more points are located inside an object of class SpatialPolygons.

Usage

point.in.SpatialPolygons(point.x, point.y, SpP)

Arguments

point.x

numerical array of x-coordinates of points.

point.y

numerical array of y-coordinates of points.

SpP

object of class SpatialPolygons

Value

Boolean array.

See Also

point.in.polygon{sp}, NA.outside.SpatialPolygons.