search for: animalshapelist

Displaying 1 result from an estimated 1 matches for "animalshapelist".

2012 Oct 30
0
lapply and kernelUD (adehabitatHR package): Home Range kernel estimation for a list of individuals
...stUDm <- kernelUD(Gael_WGS84_WorldM[-c(2:25)], h="href", grid=500, kern="bivnorm") FOR THE LIST OF ANIMALS. EVERYTHING SEEMS TO WORK FINE UNTIL I CALL THE lapply FUNCTION, THEN IT GIVES AN ERROR: > # Create a list (vector) with all the animal shapefiles in my folder > AnimalShapeList <- list.files(path=".", pattern="WGS84_WorldM.shp") >Animals <- lapply(AnimalShapeList, readShapePoints, + proj4string=CRS("+proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs")) > # Create a list of elements with...