I am working with visceral leishmaniasis data in census tracts of a Brazilian municipality. I circled a Baysian (CAR conditional autoregressive model) BYM model of the CARBayes package in software R. However, I am not able to visualize and export Spatial Random Effects. Could someone help me with this? Very obgda.
modelbym1 <- S.CARbym(formula = eq1, data = spat.data,
family = "poisson", W = W2, burnin = 100000,
n.sample = 300000, thin = 20)