Note: This document is for an older version of GRASS GIS that has been discontinued. You should upgrade, and read the current manual page.
One is the niche equivalency or similarity for two species following Warren et al. (2008) based on Schoeners D (Schoener, 1968). This metric ranges from 0 to 1, representing respectively no overlap and an identical distribution.
The other is the niche overlap metric which indicates the niche overlap from predictions of species distributions with the I similarity statistic of Warren et al. (2009), which is based on Hellinger Distances (van der Vaart, 1998). The statistic ranges from 0 (no overlap) to 1 (the distributions are identical).
By default the results are written to screen, but they can also be written to a text file with two columns for the names of each pair of rasters, a third column for the type of statistic (D or I) and a fourth column for the D or I statistic.
If any of the input maps include NODATA cells, these should normally not be included. To ensure this, the -m flag can be set to remove them. This mimics the default behaviour of the nicheOverlap function in the R dismo package. Depending on what the NODATA represents, an alternative approcah is to replace the NODATA with 0 values before running r.niche.overlap.
Figure 1. with the -m flag set, areas with NODATA in any of the input maps are ignored.
# Set region g.region rows=18 cols=36 w=10 s=10 res=0.1 # Create rasters r1 and r2 r.mapcalc 'r1 = rand(0.0,1.0)' seed=0 r.mapcalc 'r1 = rand(0.0,1.0)' seed=1
# Create rasters r1 and r2 r.niche.similarity -i -d maps=r1,r2
Available at: r.niche.similarity source code (history)
Latest change: Saturday Apr 12 06:10:01 2025 in commit: 453cfa2fcea17580814cac32bd92ec2fdab8bf3e
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2024 GRASS Development Team, GRASS GIS 8.3.3dev Reference Manual