Re: [R-sig-Geo] Error in anyDuplicated.default(coords) message with trinb

2011-07-07 Thread Edzer Pebesma
Jeff, ?tri2nb suggests you to try tri2nb(coordinates(data.sp)) On 07/07/2011 03:52 PM, Stratford, Jeffrey wrote: > Hi everyone, > > > > I'm attempting to do some spatial analyses with a relatively simple data > set and I'm running into some issues. Here's my code: > > > > sosp09 <- read.

[R-sig-Geo] Error in anyDuplicated.default(coords) message with trinb

2011-07-07 Thread Stratford, Jeffrey
Hi everyone, I'm attempting to do some spatial analyses with a relatively simple data set and I'm running into some issues. Here's my code: sosp09 <- read.csv("f:\\sosp\\2009\\sosp09.means.csv", header=T) sp.point <- cbind(sosp09$x, sosp09$y) colnames(sp.point) <- c("LONG","LAT") # Pro