Dear Finn and Kath,
Thank you for the useful code.
I followed the example (plus other readings) and applied to point prevalence disease data on a particular country.
My goal is to explore the relationship between the disease and some environmental and demographic raster layers (temperature, rainfall, land cover, DEM, population density etc.).
I was able to estimate the model with a 10 covariates. Results from the posterior mean indicates that 4 covariates are significant.
I am trying to use these 4 covariates to create a smooth surface map to show the predicted prevalence in the country, I followed this paper (http://www.math.ntnu.no/inla/r-inla.org/case-studies/Cameletti2012/Cameletti_et_al_2012_acc.pdf).
However, this doesn't work for me. I am getting a smooth map with intervals from so many NA's values to the highest value (e.g. -9999 to 100%). If I delete the NA’s, then the map shows 100% prediction for the entire country, which does make any sense.
Any idea or some useful references on this problem?
Let me know if you need more clarification