View source: R/lgcpStructures.R
gOverlay | R Documentation |
A function to overlay the FFT grid, a SpatialPolygons object, onto a SpatialPolygonsDataFrame object.
gOverlay(grid, spdf)
grid |
the FFT grid, a SpatialPolygons object |
spdf |
a SpatialPolygonsDataFrame object |
this code was adapted from Roger Bivand:
https://stat.ethz.ch/pipermail/r-sig-geo/2011-June/012099.html
a matrix describing the features of the overlay: the originating indices of grid and spdf (all non-trivial intersections) and the area of each intersection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.