[R-sig-Geo] About GeoBUGS and R

Virgilio Gomez-Rubio v.gomezrubio at imperial.ac.uk
Tue Nov 20 13:47:18 CET 2007


Dear Minag,

> I use WinBUGS by way of R (R2WinBUGS).
> So,I want to use GeoBUGS like this or another method
> (batch / script etc.. not GUI.
> I would like to use R,if possible).

What do you mean by using GeoBUGS? If you mean the spatial functions
(car.normal, etc.) you can make use of them as any other function in WB
by including them in your WB code and using R2WinBUGS to run it. If you
mean the adjacency tool, then you can check function nb2WB() in R to get
the adjacency matrix in the same way as in GeoBUGS from a nb object (see
the example therein). If you want to display the WB results in a map you
can use spplot(), for example.

Hope this helps.

Virgilio




More information about the R-sig-Geo mailing list