pip {stpphawkes}R Documentation

Point in polygon

Description

Determines if a point is in a polygon or on a polygon boundary

Usage

pip(x, y, poly)

Arguments

x

- vector of x positions

y

- vector of y positions

poly

- matrix defining polygon (N x 2)

Value

A list containing the x and y coordinates of the points inside the polygon @export


[Package stpphawkes version 0.2.1 Index]