ivlev_forage {electivity} | R Documentation |
Bounded between +0.1 (avoidance), +1.0 (random feeding), and infinity (preference).
ivlev_forage(r, p, log10 = FALSE)
r |
(Numeric) Resource utilisation. |
p |
(Numeric) Resource availability. |
log10 |
(Logical) If |
A numeric vector.
data(moth_distrib)
ivlev_forage(moth_distrib$r, moth_distrib$p, log10 = FALSE)
ivlev_forage(moth_distrib$r, moth_distrib$p, log10 = TRUE)