[R] Reading GAL file

Mihai Nica m_nica at hotmail.com
Mon Aug 23 18:25:44 CEST 2004


Oh, that was easy, THANKS!

Mihai Nica
Jackson State University
155 B Parkhurst Dr.
Jackson, MS 39202
601 969 5423
----- Original Message ----- 
From: "Roger Bivand" <Roger.Bivand at nhh.no>
To: "Mihai Nica" <m_nica at hotmail.com>
Cc: <r-help at stat.math.ethz.ch>
Sent: Monday, August 23, 2004 11:19 AM
Subject: Re: [R] Reading GAL file


> On Mon, 23 Aug 2004, Mihai Nica wrote:
>
> > Greetings:
> >
> > I am trying to work with spdep (everything is "brand new" downloaded
> > this morning). OS = Windows 2000 (also up to date). The code I am using
> > follows:
> >
> > #example
> >
> > gal.county=read.geoda("lnpilnd.GAL", row.names=NULL, skip=0)
>
> Well, if you look at the help page for read.geoda() and read.gal(), you
> may see that read.gal() is what you use for reading the GAL file, and
> read.geoda() is just there as an easy way of using read.csv() for data
> files on the CSISS server. I can see that the help page could be clearer,
> it will be in the next release.
>
> > summary.nb(gal.county)
> > Error in summary.nb(gal.county) : Not a neighbours list
> >
> > #end
> >
> > The gal file works just fine in GeoDa (also up to date).
> >
> > Thanks, I am really stuck here.
> >
> > Mihai Nica
> > Jackson State University
> > 155 B Parkhurst Dr.
> > Jackson, MS 39202
> > 601 969 5423
> > [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
> >
>
> -- 
> Roger Bivand
> Economic Geography Section, Department of Economics, Norwegian School of
> Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
> Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
> e-mail: Roger.Bivand at nhh.no
>
>
>




More information about the R-help mailing list