pip(pts,poly,out=FALSE,bound=NULL,quiet=TRUE)out=TRUE, return the points outside the polygon, else the points inside.pip returns the points of pts that lie inside (or outside with
out=TRUE)
the polygon poly. Compare this with inpip, which returns
the indices of
the points in the polygon, and inout which returns a logical vector
indicating whether points are inside or outside.pip calls inout, then selects the appropriate sub-set of points.inpip, inout