Learn R Programming

soilfoodwebs (version 1.0.2)

Jacobsindex: Calculate Jacob's index.

Description

Calculate Jacob's index.

Usage

Jacobsindex(usin)

Value

A data frame with columns for predator, prey, and the value of Jacob's index.

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.

Examples

Run this code
# Calculate the minimum values of s for the introduction community.
Jacobsindex(intro_comm)

Run the code above in your browser using DataLab