Posts by Patricia Matsumoto • 1 point
2 posts
-
0
votes1
answer50
viewsA: How to plot/map spatial random effects (Spatial Random Effects) in R?
The code for exporting random spatial effects is: pmean = apply(modelbym1$samples$psi,2,mean) write.csv(pmean, file = "pmean.csv") Then just make a Join with the ". shp" pq values are exported in…
-
0
votes1
answer50
viewsQ: How to plot/map spatial random effects (Spatial Random Effects) in R?
I am working with visceral leishmaniasis data in census tracts of a Brazilian municipality. I ran a Baysian space model (CAR conditional autoregressible model) BYM from the Carbayes package in the R…