predictESF: predictESF

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/meteESF.R

Description

predict predicts the probabilities for given combinations of abundance and energ from the “ecosystem structure function” R(n,ε)

Usage

1
predictESF(esf, abund, power)

Arguments

esf

A fitted object of class meteESF

abund

A vector of abundances

power

A vector of metabolic rates

Details

Uses a fitted object of class meteESF and user supplied values of abundance and power to predict values of the ESF

Value

a data.frame with abundance, power, and the predicted value of the ESF

Author(s)

Andy Rominger <ajrominger@gmail.com>, Cory Merow

References

Harte, J. 2011. Maximum entropy and ecology: a theory of abundance, distribution, and energetics. Oxford University Press.

See Also

meteESF

Examples

1
2
3
4
5
6
7
8
## case where complete data availible
esf1 <- meteESF(spp=arth$spp,
                abund=arth$count,
                power=arth$mass^(.75),
                minE=min(arth$mass^(.75)))
predictESF(esf1,
           abund=c(10,3),
           power=c(.01,3))

cmerow/meteR documentation built on May 13, 2019, 8:23 p.m.