[R-sig-Geo] About GeoBUGS and R
v.gomezrubio at imperial.ac.uk
Wed Nov 21 13:35:50 CET 2007
> I want to use GeoBUGS for modeling and mapping(e.g SMR
> 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
> I can get it..)
Basically, what you need to do is to create a SpatialPolygonDataFrame
object from your map. Depending on the format, there are different
options available in R. Then you can read the results from your model
and add a new column to the map object with your estimate of the
smoothed relative risks (I presume). Then you can use spplot to display
More information about the R-sig-Geo