Learn R Programming

⚠️There's a newer version (0.2.6) of this package.Take me there.

jSDM R Package

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.

Copy Link

Version

Install

install.packages('jSDM')

Monthly Downloads

160

Version

0.1.0

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Ghislain Vieilledent

Last Published

July 2nd, 2019

Functions in jSDM (0.1.0)

jSDM_binomial

Binomial logistic regression model
frogs

frogs dataset
get_residual_cor

Calculate the residual correlation matrix from a LVM.
plot_residual_cor

Plot the residual correlation matrix from a LVM.
predict.jSDM

Predict method for models fitted with jSDM
jSDM-package

joint species distribution models
logit

Generalized logit and inverse logit function
jSDM_probit_block

Binomial probit regression model