Code to reproduce conditional autoregression (CAR) mixed model example in https://link.springer.com/article/10.1007/s11222-022-10188-x. The paper uses a chain of 100,000 draws, burn = 20,000, and thin = 10.
This example uses older versions of CARBayes (v1.6) and CARBayesdata (v2.2), which can be obtained using the following.
devtools::install_version("CARBayes", version = "1.6")
devtools::install_version("CARBayesdata", version = "2.2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.