hSDM R package
hSDM is an R package for hierarchical Bayesian species distribution models. It includes functions to fit mixture models (site-occupancy, N-mixture, ZIB and ZIP models) accounting for imperfect detection, excess of zeros in the observations and spatial autocorrelation (through an intrinsic CAR process). The functions uses an adaptive Metropolis within Gibbs algorithm written in C code. This makes parameter inference faster than with softwares commonly used to fit such models (such as JAGS, WinBUGS or OpenBUGS) and allows analyzing very large data-sets (typically with more than tens of thousands grid cells).
hSDM website: http://hSDM.sf.net.
MCMCpack (Markov chain Monte Carlo Package) is an R package which contains functions to perform Bayesian inference using posterior simulation for a number of statistical models. Most simulation is done in compiled C++ written with the
Scythe Statistical Library Version 1.0.2. Authors: Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park.
Since version 1.1-1 (July 2011),
MCMCpack includes additional functions for generalized linear mixed models (glmm):
MCMChregress() for Gaussian models,
MCMChlogit() for Bernoulli models (logit link function) and
MCMChpoisson() for Poisson models (log link function). Author: Ghislain Vieilledent.
Last version of
MCMCpack is available on the Comprehensive R Archive Network at http://cran.r-project.org/package=MCMCpack.
phcfM R package
phcfM is an R package for modelling anthropogenic deforestation. It was initially developed to obtain REDD+ baseline scenarios of deforestation for the programme holistique de conservation des forêts à Madagascar (from which the package was named after). It includes two main functions:
demography(), to model the population growth with time in a hierarchical Bayesian framework using population census data and Gaussian linear mixed models.
deforestation(), to model the deforestation process in a hierarchical Bayesian framework using land-cover change data and Binomial logistic regression models with variable time-intervals between land-cover observations.
Code and manual
The last stable version of the
phcfM R package is officially available for several operating systems (Unix, Windows and Mac OSX) on the Comprehensive R Archive Network (CRAN).
A GRASS location (
phcfM_SM) and two mapsets with geographical data layers (
study_area_4) are available to illustrate the use of the
phcfM R package. Associated to the GRASS location, a directory (
./scripts) includes the data and the R/GRASS scripts used for the demographic and deforestation models.
Vieilledent G., C. Grinand and R. Vaudry. 2013. Forecasting deforestation and carbon emissions in tropical developing countries facing demographic expansion: a case study in Madagascar. Ecology and Evolution. 3:1702-1716. [doi:10.1002/ece3.550]. / Supplementary materials
phcfM website: http://phcfM.sf.net.
twoe (2e) software:
twoe (2e) is a software which aims first, at estimating the demographic parameters of tropical tree species from permanent forest plot data (through an R package) and second, at simulating forest dynamics (through a Capsis module). Authors: Ghislain Vieilledent, François de Coligny.
Laurans M., B. Hérault, G. Vieilledent and G. Vincent. 2014. Vertical stratification reduces competition for light in dense tropical forests. Forest Ecology and Management. 329: 79-88. [doi:10.1016/j.foreco.2014.05.059]. / Supplementary materials
Last versions of the R package and of the Capsis module are available on the
twoe website: http://twoe.sf.net.