jacob_forage {electivity} | R Documentation |
When logged (which is Jacob's recommendation), bounded between negative and positive infinity.
jacob_forage(r, p, log10 = FALSE)
r |
(Numeric) Resource utilisation. |
p |
(Numeric) Resource availability. |
log10 |
(Logical) If TRUE, return the value as Log10. |
A numeric vector.
data(moth_distrib)
jacob_forage(moth_distrib$r, moth_distrib$p, log10 = TRUE)
jacob_forage(moth_distrib$r, moth_distrib$p, log10 = FALSE)