Fit Besag Small Area Estimation model using R-INLA.
besag_inla.RdRandom effects have an improper conditional autoregressive (ICAR)
distribution. This is implemented by R-INLA using the
option model = "besag".
Usage
besag_inla(sf, verbose = FALSE, cores = parallel::detectCores())Arguments
- sf
A simple features object with some geometry.
- verbose
Should
R-INLArun in modeverbose = TRUE.- cores
Number of cores, passed to
R-INLA, defaults toparallel::detectCores().