jSDM R Package

Travis CI CRAN Status DOI Downloads

Package for fitting joint species distribution models (jSDM) in a hierarchical Bayesian framework (Warton et al. 2015). The Gibbs sampler is written in C++. It uses Rcpp, Armadillo and GSL to maximize computation efficiency.

System requirements

Make sure the GNU Scientific Library (GSL) is installed on your system.

Installation

Install the latest stable version of jSDM from CRAN with:

install.packages("jSDM")

Or install the development version of jSDM from GitHub with:

devtools::install_github("ghislainv/jSDM")

References

Warton, D.I., Blanchet, F.G., O’Hara, R.B., Ovaskainen, O., Taskinen, S., Walker, S.C. & Hui, F.K. (2015) So many variables: Joint modeling in community ecology. Trends in Ecology & Evolution, 30, 766–779.