Description Usage Arguments Value Author(s) References Examples
Compute niche overlap from predictions of species distributions with the 'I' or 'D' similarity statistic of Warren et al. (2009). The statistic ranges from 0 (no overlap) to 1 (the distributions are identical).
1 | nicheOverlap(x, y, stat='I', mask=TRUE, checkNegatives=TRUE)
|
x |
RasterLayer with non-negative values (predictions of the probability that a site is suitable for a species) |
y |
RasterLayer with non-negative values, as above |
stat |
character either 'I' or 'D' to get the statistic with that name |
mask |
logical. If |
checkNegatives |
logical. If |
numeric
Based on SDMTools::Istat by Jeremy VanDerWal
Warren, D.L., R.E. Glor, M. Turelli, and D. Funk. 2009. Environmental niche equivalency versus conservatism: quantitative approaches to niche evolution. Evolution 62:2868-2883; Erratum: Evolution 65: 1215
1 2 3 4 5 6 |
Loading required package: raster
Loading required package: sp
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
NOTE: rgdal::checkCRSArgs: no proj_defs.dat in PROJ.4 shared files
[1] 0.8891728
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.