Allows to map species richness and endemism based on stacked species distribution models (SSDM). Individuals SDMs can be created using a single or multiple algorithms (ensemble SDMs). For each species, an SDM can yield a habitat suitability map, a binary map, a between-algorithm variance map, and can assess variable importance, algorithm accuracy, and between- algorithm correlation. Methods to stack individual SDMs include summing individual probabilities and thresholding then summing. Thresholding can be based on a specific evaluation metric or by drawing repeatedly from a Bernoulli distribution. The SSDM package also provides a user-friendly interface.
SSDM is a package to map species richness and endemism based on stacked species distribution models (SSDM). Individual SDMs can be created using a single or multiple algorithms (ensemble SDMs). For each species, an SDM can yield a habitat suitability map, a binary map, a between-algorithm variance map, and can assess variable importance, algorithm accuracy, and between-algorithm correlation. Methods to stack individual SDMs include summing individual probabilities and thresholding then summing. Thresholding can be based on a specific evaluation metric or by drawing repeatedly from a Bernouilli distribution. The SSDM package also provides a user-friendly interface gui.
For a full list of changes see NEWS.
Please be aware that SSDM package use a lot of dependencies (see DESCRIPTION)
You can install the latest version of SSDM from Github using the devtools package:
if (!requireNamespace("devtools", quietly = TRUE))install.packages("devtools")devtools::install_github("sylvainschmitt/SSDM")
The stable version of SSDM, is available on CRAN:
install.packages("SSDM")
We advise users to install from github. Due to CRAN policies and the development of SSDM, many new features and bugfixes may be available on CRAN later.
After installing, SSDM package, you can launch the graphical user interface by typing gui() in the console.
[**Click to enlarge**](https://raw.githubusercontent.com/sylvainschmitt/SSDM/master/examples/SSDM.gif) SSDM provides five categories of functions (that you can find in details below): Data preparation, Modelling main functions, Model main methods, Model classes, and Miscellaneous.
load_occ: Load occurrence dataload_var: Load environmental variablesmodelling: Build an SDM using a single algorithmensemble_modelling: Build an SDM that assembles multiple algorithmsstack_modelling: Build an SSDMs that assembles multiple algorithms and speciesensemble,Algorithm.SDM-method: Build an ensemble SDMstacking,Ensemble.SDM-method: Build an SSDMupdate,Stacked.SDM-method: Update a previous SSDM with new occurrence dataAlgorithm.SDM: S4 class to represent SDMsEnsemble.SDM: S4 class to represent ensemble SDMsStacked.SDM: S4 class to represent SSDMsgui: user-friendly interface for SSDM packageplot.model: Plot SDMssave.model: Save SDMsload.model: Load SDMsmapDiversity S4 methods for SSDM with pSSDM, bSSDM, Bernoulli, MaximumLikelyhood, PRR.MEM, PRR.pSSDMevaluate.Stack.SDMproject.R with MEM bug fixedstacking.R with MEM bug fixedspThin package responsible for the doc issue, not fixed but currently just commenting the pacakge to unactivate it in waiting. thread open on Roxygen2 development repository: https://github.com/klutometis/roxygen/issues/597.rgdalissue on travis due to test_load_occrgdalissue on travis due to load_varrgdal in DEPENDENCIES for testthat in Travistestthat (39%)quit button in guistack_modellingexample fixTRUE and FALSEgoodpractice package checklength(x)replaced by seq_len(x)<- instead of = in examplesshinyFiles in DEPENDENCIESplot(SSDM)Envand Occurrences dataguiguiDimitri Justeau: endemism parameter bug in the gui fixed
-Stacking Algo. Corr. row names duplicate (strsplit) - Duplicated '.tif' in load_occ docDimitri Justeau - Null supported by Spcol (default) in .checkargs Dimitri Justeau