Re: [R] using shapefiles in adehabitat/ converting shapefile to spatial pixel data frame

2012-02-23 Thread Michael Sumner
The error you are getting says that the coordinates provided do not define a regular grid (within the tolerance allowed). Are the points in your CSV file really a regular grid, or do they represent a surface by way of irregular points? You could check this manually by plotting: depth<-read.csv("d

[R] using shapefiles in adehabitat/ converting shapefile to spatial pixel data frame

2012-02-23 Thread Soanes, Louise
Hello I wonder if anybody can help, I am using the package adehabitatHR to estimate the potential distribution of a species using the command "domain" In the example given in the AdehabitatHS manual a map containing elevation information is loaded (class= spatial pixels data frame) as well as th