[Openspace] nb2listw

Danlin Yu yud at mail.montclair.edu
Sat Apr 19 09:54:58 CDT 2008


Mohamed:

The error message is rather clear: there are islands in your data set 
that don't (according to the way you define your neighborhood) have any 
neighbors. In GeoDa, you can check which ones don't have neighbor by 
view the weight characteristics.

Hope this helps,
Danlin

mohamed ben ahmed wrote:
>  Dear  Members,
> Can anyone tell me how to resolve this problem:
> for spatial data and using R, i created the contiguité list:
> staterook<-read.gal("rook.GAL"), it's ok
> but when i wanted to create the weight list by;
> staterook1<-nb2listw(statetook) , a message of error appears and say:
> Erreur dans nb2listw(staterook) : Empty neighbour sets found
> thnak you in advance
> Best Regards
> _______________________________________________
> Openspace mailing list
> Openspace at sal.uiuc.edu
> http://sal.uiuc.edu/mailman/listinfo/openspace
>   

-- 
___________________________________________
Danlin Yu, Ph.D.
Assistant Professor
Department of Earth & Environmental Studies
Montclair State University
Montclair, NJ, 07043
Tel: 973-655-4313
Fax: 973-655-4072
email: yud at mail.montclair.edu
webpage: csam.montclair.edu/~yu



More information about the Openspace mailing list