The data-sets are found here and the R-code is found here , for the first two examples. For examples three and four, the datasets is in the 'gstat' package and this case-study.
ZIP-bundle with the R-code and the dataset
Browse the R-code and dataset online
Journal: Advances in Statistical Analysis
PS: In earlier versions of this code, the inla() call sometimes crashed when attempting to reorder the precision matrix. In the current version of the code, this is prevented by the option :
control.inla = list(reordering = "metis")
in the inla()-call. The issue appears in the sparse-matrix library.
Here are examples from ``Breslow and Clayton (1993)'' re-analyzed using INLA in ``Fong, Rue and Wakefield (2009)" ( with ``Supplementary material").
Examples in Breslow and Clayton (1993)
a. Section 6.1: Overdispersion, R code