jacob_forage {electivity} | R Documentation |
Jacob's modified forage ratio, Q
Description
When logged (which is Jacob's recommendation), bounded between negative and positive infinity.
Usage
jacob_forage(r, p, log10 = FALSE)
Arguments
r |
(Numeric) Resource utilisation. |
p |
(Numeric) Resource availability. |
log10 |
(Logical) If TRUE, return the value as Log10. |
Value
A numeric vector.
Examples
data(moth_distrib)
jacob_forage(moth_distrib$r, moth_distrib$p, log10 = TRUE)
jacob_forage(moth_distrib$r, moth_distrib$p, log10 = FALSE)
[Package electivity version 1.0.2 Index]