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

Description Usage Arguments Value See Also

View source: R/point.in.SpatialPolygons.prevR.r

Description

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

Usage

1
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 sp::SpatialPolygons

Value

Boolean array.

See Also

sp::point.in.polygon(), [NA.outside.SpatialPolygons())].

[NA.outside.SpatialPolygons())]: R:NA.outside.SpatialPolygons())


prevR documentation built on Aug. 28, 2020, 5:08 p.m.