Description Usage Arguments Details Value Examples
View source: R/prey_preference.R
Calculate preference between two prey resources.
1 | prey_preference(e1, e2, N1, N2)
|
e1 |
Conversion efficiency for prey resource 1. Most often this |
e2 |
Conversion efficiency for prey resource 2. Most often this |
N1 |
The population abundance of prey resource 1. Usually this is prey B |
N2 |
The population abundance of prey resource 2. Usually this is prey C |
The preference of prey resource 1 over prey resource 2. Values < 0.5 indicate the resource 2 is preferred, value > 0.5 indicate resource 1 is preferred.
Preference is calculated as e1*N1 / (e1*N1 + e2*N2)
value between 0 and 1
1 | prey_preference(e1 = 2, e2 = 1, N1 = 100, N2 = 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.