powered by
This function forces points of an object of class sp::SpatialPixelsDataFrame located outside the limits defined by an object of class sp::SpatialPolygons to NA.
NA
NA.outside.SpatialPolygons(sp.data, sp.poly)
Return sp.data modified.
sp.data
object of class sp::SpatialPixelsDataFrame.
object of class sp::SpatialPolygons.
point.in.SpatialPolygons().
point.in.SpatialPolygons()