README.md

enmSdm

Tools for modeling niches and distributions of species

Please note: enmSdm has been replaced by enmSdmX (available on CRAN).

I am no longer actively developing enmSdm because it relies heavily on the soon-to-be-defunct sp and (maybe) raster packages, which in turn rely on the soon-to-be-defunct PROJ4 geodetic/coordinate reference system libraries. Its replacement, enmSdmX works with the new terra and sf packages, and--most importantly--PROJ6!

This package is a complement to the popular dismo package for R by Robert Hijmans. Its contains a suite of efficiency functions for preparing data, training and evaluating species distribution models and ecological niche models, and comparing ecological niches.

You can install this package in R using these commands:

remotes::install_github('adamlilith/enmSdm', dependencies=TRUE)

Note: If for some reason these commands don't work, you can install the package(s) by downloading the latest zip/tar file from the zipTarFiles directory and installing the package(s) manually. If you do this, you will also have to install the legendary package, which is on GitHub under my account (adamlilith), as well as the omnibus and statisfactory packages on CRAN.

Data preparation

Model training

Model prediction

Model evaluation

Niche overlap

Spatial autocorrelation

Functions for rasters

Range area based on minimum convex polygons

Geographic utility functions

Data

Citation

As of October 2020 there is no package-specific publication for enmSdm, but the package was first used and cited in:

Morelli, T.L., Smith, A.B., Mancini, A.N., Balko, E. A., Borgenson, C., Dolch, R., Farris, Z., Federman, S., Golden, C.D., Holmes, S., Irwin, M., Jacobs, R.L., Johnson, S., King, T., Lehman, S., Louis, E.E. Jr., Murphy, A., Randriahaingo, H.N.T., Lucien, Randriannarimanana, H.L.L., Ratsimbazafy, J., Razafindratsima, O.H., and Baden, A.L. 2020. The fate of Madagascar’s rainforest habitat. Nature Climate Change 10:89-96. * Equal contribution https://doi.org/10.1038/s41558-019-0647-x

Abstract. Madagascar has experienced extensive deforestation and overharvesting, and anthropogenic climate change will compound these pressures. Anticipating these threats to endangered species and their ecosystems requires considering both climate change and habitat loss effects. The genus Varecia (ruffed lemurs), which is composed of two Critically Endangered forest-obligate species, can serve as a status indicator of the biodiverse eastern rainforest of Madagascar. Here, we combined decades of research to show that the suitable habitat for ruffed lemurs could be reduced by 29–59% from deforestation, 14–75% from climate change (representative concentration pathway 8.5) or 38–93% from both by 2070. If current protected areas avoid further deforestation, climate change will still reduce the suitable habitat by 62% (range: 38–83%). If ongoing deforestation continues, the suitable habitat will decline by 81% (range: 66–93%). Maintaining and enhancing the integrity of protected areas, where rates of forest loss are lower, will be essential for ensuring persistence of the diversity of the rapidly diminishing Malagasy rainforests.



adamlilith/enmSdm documentation built on Jan. 6, 2023, 11 a.m.