[R-sig-Geo] BYM model

Roger Bivand Roger.Bivand at nhh.no
Tue Apr 3 17:39:15 CEST 2012


On Tue, 3 Apr 2012, Nelson Oliveira wrote:

> Hi
> I am trying to reproduce the results in the Applied Spatial Data Analysis
> with R book.
> I would like to know how the ncoutput dataframe in the geweke.diag function
> (page 330)  was built.

Does the code at:

http://www.asdar-book.org/bundles/dismap_WB.zip

help? You need:

http://www.asdar-book.org/RC1/book/dismap_mod.R

first to set up the input data. In chunk 39, line 172, of dismap_WB.R, you 
see:

library(coda)
ncoutput<-read.coda("BYM/coda1.txt", "BYM/codaIndex.txt")

Hope this clarifies,

Roger


> Thank you very much
> Nelson
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the R-sig-Geo mailing list