[R-sig-Geo] About GeoBUGS and R
mina_gu at yahoo.co.jp
Wed Nov 21 06:42:08 CET 2007
Dear Dr.Virsillo
Thank you for reply.
I try to spplot().
I want to use GeoBUGS for modeling and mapping(e.g SMR
map).
The former,I use GeoBUGS function by way of R2WinBUGS,but
latter I can't.
Usually,R2WinBUGS write results in logfile(.odc).
I want to add map to the logfile by way of R.
(If I use GeoBUGS's GUI with R2WinBUGS running on debug
mode(bugs(...,debug=TRUE)),
I can get it..)
Regards
Minag
--- Virgilio Gomez-Rubio <v.gomezrubio at imperial.ac.uk>
wrote:
> 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
>
>
--------------------------------------
New Design Yahoo! JAPAN 2008/01/01
http://pr.mail.yahoo.co.jp/newdesign/
More information about the R-sig-Geo
mailing list