Skip to content
Prev 2012 / 29559 Next

problems with read.gwt2nb function

On Wed, 18 Apr 2007, Antonio Ramos wrote:

            
I think this gets you there - you have to give the IDs as the region.id=
argument, otherwise the function is looking for a sequence 1:417:

ba0 <- read.table("ba.GWT", header=FALSE, skip=1)
str(ba0)
ID_ <- unique(ba0$V1)
ba <- read.gwt2nb("ba.GWT", region.id=ID_)
ba

Roger