Clip points to polygon shapefile
Open packages needed to use this snippet and the data.*
Project the data.
Plot the shapefile and dataset.
Notice that the puma data is global. Often clipping can be difficult to write out, but R lets you simply subset the puma data based on the US data:
Now you only have data for the US!
Spatial Ecology @ MSU
Click on "Category" below to search for R code compiled by the Zarnetske Spatial & Community Ecology Lab and students in MSU's Spatial Ecology graduate course (FOR870/FW870)