SDMTools to calculate landscape metrics around points

المشرف العام

Administrator
طاقم الإدارة
I'm trying to obtain landscape metrics within a 1-km radius of nest locations using the SDMTools package in R. The code I'm using is modified from code provided at this link:

http://ecosystems.psu.edu/research/...-metrics/7.3-landscape-metrics-within-buffers

When I run the code for one nest it works, but when I run it for all of my nests I get the same values for the different landscape metrics for each nest. Here's what it looks like:

# load necessary packages:library(rgeos)library(SDMTools)library(plyr)library(raster)# load nest data and habitat model; CRS = NAD83:bacs
 
أعلى