Jacobsindex {soilfoodwebs} | R Documentation |
Calculate Jacob's index.
Description
Calculate Jacob's index.
Usage
Jacobsindex(usin)
Arguments
usin |
The community for which to calculate Jacob's index |
Details
Jacob's index is calculated for all predators with more than one prey item. A value of -1 indicates maximum avoidance, 0 indicates no preference, and 1 indicates maximum preference. This index is a more user friendly output than the values in imat, which can be difficult to interpret.
Value
A data frame with columns for predator, prey, and the value of Jacob's index.
Examples
# Calculate the minimum values of s for the introduction community.
Jacobsindex(intro_comm)
[Package soilfoodwebs version 1.0.2 Index]