I have grown to prefer the sf package, I've found it to be much cleaner and straightforward than working with sp. You can use sf::st_intersection and convert the resulting sf layer to a data frame.
On Wed, Feb 20, 2019, 07:30 Torsten Hauffe <torsten.hau...@gmail.com> wrote: > Hi Bruce, > > Sounds like that you are looking for sp:::over(). > > HTH, > Torsten > > On Wed, 20 Feb 2019 at 16:20, Bruce Miller <batsnc...@gmail.com> wrote: > > > Hi all, > > Back in January I inquired about R packages to extract associations of > > spatial layers. > > The one reply related to raster data. > > > > The shape file layers I am working with are vector layers. > > I need to revisit this to see what I can do. > > I have species distribution layers (Vector shape files) and > > ecological/habitat layers (also vector shp files) and need to derive the > > species associations for each ecosystem/habitat layer where they occur > > and extract the resulting data tbls. > > > > Any other suggestion I might try using R based packages? > > > > Again I am traveling and do not have access to my workstation ArcMap so > > need to derive these overlap associations using an R based approach. > > > > Thanks all. > > Bruce > > > > _______________________________________________ > > R-sig-ecology mailing list > > R-sig-ecology@r-project.org > > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology > > > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-ecology mailing list > R-sig-ecology@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology > [[alternative HTML version deleted]] _______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology