jSDM CRAN release v0.2.0: Joint Species Distribution Models
Changes
- New function
jSDM_binomial_probit_sp_constrainedwhich aims to improve the convergence of latent variable models fitting by selecting the species constrained to have positive values of factor loadings and new vignette Bernoulli probit regression with selected constrained species to illustrate its use. - New vignette Estimation of Madagascar's plant biodiversity available.
- Add the possibility of considering an additional hierarchical level in the Bayesian models of the
jSDM_binomial_probit,jSDM_binomial_logitandjSDM_poisson_logfunctions to take into account interactions between species-specific traits and the environment in estimating species effects. - New vignette Bernoulli probit regression including species traits available.
- Separate the drawing of species effects beta and factor loading lambda in the functions
jSDM_binomial_probit_blockandjSDM_binomial_probit_block_long_formatrenamedjSDM_binomial_probitandjSDM_binomial_probit_long_format. - New function
plot_associationsto plot species-species associations. - Add Code of conduct and Contributing section
- Use of
roxygen2for documentation and NAMESPACE - New function
jSDM_binomial_probit_block_long_formatfor fitting joint species distribution models from presence-absence data in long format able to handle missing observations, multiple visits at sites and to integer species traits as explanatory variables. - New function
jSDM_poisson_logfor fitting joint species distribution models from abundance data inspired by Hui and Francis K. C. 2016 Methods in Ecology and Evolution ((doi:10.1111/2041-210X.12514). - New function
jSDM_binomial_logitfor fitting joint species distribution models from presence-absence data at multiple-visited sites using a bayesian inference method inspired by Albert, James H. and Chib Siddhartha 1993 Journal of the American Statistical Association (doi:10.1080/01621459.1993.10476321). - Functions to fit models in which site effects are included as fixed effects, as random effects or not included and with or without latent variables.
- New function
get_enviro_corto extract covariances and correlations due to shared environmental responses. - Complete
jSDM-packagedocumentation - Add datasets (
mosquitos,fungi,eucalypts,birds,mites,aravo). - Seven new vignettes (Bayesian inference methods, Poisson log-linear regression, Bernoulli probit regression, Bernoulli probit regression with missing data and species traits, Binomial logistic regression, Running jSDM in parallel, Comparing SDMs and JSDMs and Comparison jSDM-Hmsc) are available.
- Complete and correct the vignette Comparison jSDM-boral.
- New package website available on GitHub: https://ecology.ghislainv.fr/jSDM/.
Install this release
From CRAN or using the devtools::install_github() function in R:
devtools::install_github(repo="ghislainv/jSDM", ref="v0.2.0")̀