Implements a class of spatial generalised linear mixed models for areal unit data, with inference in a Bayesian setting using Markov chain Monte Carlo (McMC) simulation. The response variable can be binomial, Gaussian or Poisson. The spatial autocorrelation is modelled by a set of random effects, which are assigned a conditional autoregressive (CAR) prior distribution. A number of different CAR priors are available for the random effects, and full details are given in the vignette accompanying this package. The initial creation of this package was supported by the Economic and Social Research Council (ESRC) grant RES-000-22-4256, and on-going development was supported by the Engineering and Physical Science Research Council (EPSRC) grant EP/J017442/1.
Version: |
4.4 |
Depends: |
MASS, R (≥ 2.10.0), Rcpp (≥ 0.10.6) |
Imports: |
CARBayesdata, coda, sp, spam, spdep, stats, truncdist, utils |
LinkingTo: |
Rcpp |
Suggests: |
boot, deldir, foreign, grid, maptools, Matrix, nlme, shapefiles, splines |
Published: |
2016-02-03 |
Author: |
Duncan Lee |
Maintainer: |
Duncan Lee <Duncan.Lee at glasgow.ac.uk> |
License: |
GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
NeedsCompilation: |
yes |
Citation: |
CARBayes citation info |
In views: |
Spatial |
CRAN checks: |
CARBayes results |