predictESF {meteR}R Documentation

predictESF

Description

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

Usage

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

## 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))

[Package meteR version 1.2 Index]