Description Usage Arguments Value Examples

View source: R/exported_funs.R

When logged (which is Jacob's recommendation), bounded between negative and positive infinity.

1 | ```
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.

1 2 3 | ```
data(moth_distrib)
jacob_forage(moth_distrib$r, moth_distrib$p, log10 = TRUE)
jacob_forage(moth_distrib$r, moth_distrib$p, log10 = FALSE)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.