Clip points to polygon shapefileOpen 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!
0 Comments
Leave a Reply. |
Spatial Ecology @ MSUClick 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) Category
All
Archive
October 2016
|