[R] spatial correlogram

tara taras at calgaryzoo.ab.ca
Thu Sep 30 01:04:29 CEST 2010


Hello 
I am trying to use the correlog function to estimate a spatial correlogram
for the residuals of a logistic regression and I have run accross the
following error. 
 
> summary(binom1 <- glm(Use~X20mslop+X20mdem+soilsst, family=binomial,
+ data=M60m2000NE_1.df))

> correlog1.1 <- correlog(M60m2000NE_1.df$X, M60m2000NE_1.df$Y,
> residuals(binom1),w=NULL,
+ na.rm=T, increment=1, resamp=0)

Error in split.default(moran, dkl) : 
  Group length is 0 but data length > 0

Can anyone help me to understand what this error is referring to and suggest
how I can fix it? 
Thanks 
Tara

-- 
View this message in context: http://r.789695.n4.nabble.com/spatial-correlogram-tp2719949p2719949.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list