in_extent.RdTests whether the point (or extent) pt falls entirely within the extent of a raster ras,
returning TRUE or FALSE.
in_extent(pt, so)
| pt | is a coordinate vector or extent class object |
|---|---|
| so | is a spatial object |
TRUE if pt is within extent of ras, else FALSE