Fit Weighted ICAR Small Area Estimation model using R-INLA.
wicar_inla.RdFit Weighted ICAR Small Area Estimation model using R-INLA.
Usage
wicar_inla(sf, R, verbose = FALSE, cores = parallel::detectCores())Arguments
- sf
A simple features object with some geometry.
- R
A sparse precision matrix of class
"sparseMatrix"- verbose
Should
R-INLArun in modeverbose = TRUE.- cores
Number of cores, passed to
R-INLA, defaults toparallel::detectCores().