Bayesian Modeling of Spatial Count Data.
SpatGC
The R package SpatGC Provides a collection of functions for preparing data and fitting Bayesian count spatial regression models, with a specific focus on the Gamma-Count (GC) model. The GC model is well-suited for modeling dispersed count data, including under-dispersed or over-dispersed counts, or counts with equivalent dispersion, using Integrated Nested Laplace Approximations (INLA). The package includes functions for generating data from the GC model, as well as spatially correlated versions of the model. See Nadifar, Baghishani, Fallah (2023)
Installation
You can install the stable version from CRAN.
install.packages('SpatGC', dependencies = TRUE)
You can install the development version from Github
install.packages("remotes")
remotes::install_github("mahsanst/SpatGC")
To cite package SpatGC
in publications use:
Nadifar, M., Baghishani, H. (2024) SpatGC: Bayesian Modeling of Spatail Count Data. R package version 0.1.0, https://cran.r-project.org/package=SpatGC.
A BibTeX entry for LaTeX users is
@Manual{SpatGC, title = {SpatGC: Bayesian Modeling of Spatail Count Data}, author = {Mahsa Nadifar and Hossein Baghishani}, year = {2024}, note = {R package version 0.1.0}, url = {https://cran.r-project.org/package=SpatGC} }
License
This package is free and open-source software, licensed under GPL-3.