I am fairly new to R. I would like to use the adehabitatHR package to create kernel density and isopleths from my sea turtle GPS data. I�m running into some issues�
Basically I am having trouble assigning IDs and XY fields within R to create KDs and MCPs.
Thank you in advance for any help!
GIS Research Specialist
Virginia Aquarium and Marine Science Center Foundation
Division of Research and Conservation
[hidden email]<mailto:[hidden email]>
#Add to list the list with the names "map" and "relocs"
my.homerange.data <- list(map = shore, relocs = track)
#####THIS IS WHERE I AM RUNNING INTO ISSUES#####
#Assign IDs and XY � the IDs work but coordinates don�t work. I get the following error: Error in `[.data.frame`(x@data, i, j, ..., drop = FALSE) : undefined columns selected
#Create CP � this works
cp <- mcp(my.homerange.data$relocs[,1], percent=95)
#Create KUD. This doesn�t work. I get the following: Error in xy.coords(x, y, xlabel, ylabel, log) : 'x' is a list, but does not have components 'x' and 'y'
kud <- kernelUD(track[,1], h="href")