schoenr | R Documentation |
Schoener's D metric quantifies niche overlap between two discretised
probability functions. The schoenr
function modifies the metric for
continuous probability distributions.
schoenr(d1, d2, a = NULL, b = NULL)
d1 |
A density distribution. |
d2 |
A density distribution. |
a |
The lower and upper limits of comparison.
Each density will be rescaled such that the integral over the
interval |
b |
The lower and upper limits of comparison.
Each density will be rescaled such that the integral over the
interval |
D was originally defned as the sum of the absolute difference in resource use
frequencies for every category i. The sum is rescaled by 0.5 to give the
per-niche value, and then subtracted from 1 so as to be a similarity metric
(i.e. D = 1 indicates identical niches). schoenr
replaces the sum
with an integral on the absolute difference between two estimated
kernel density functions.
A numeric value between 0 and 1 inclusive.
Schoener68kerneval
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.