Re: [R] Error in spdep: system is computationally singular

2008-10-09 Thread Roger Bivand
Alberto Jiménez Valverde ku.edu> writes: > > Hi all, > > I am trying to run an autologistic model using the function errorsarlm from spdep package. > ... > > **I want to estimate the spatial simultaneous autoregressive error model** > > res20<-errorsarlm(finalglm1, listw=nb20.w, zero.policy

[R] Error in spdep: system is computationally singular

2008-10-08 Thread Alberto Jiménez Valverde
Hi all, I am trying to run an autologistic model using the function errorsarlm from spdep package. **I built an XY matrix extracting the two colums from matriz** coords1<-matriz[matriz$casos1==1, c(4,5)] coords1<-as.matrix(coords1) **I identify neighbours of region points** nb20<-dnearneigh(