predictESF {meteR} | R Documentation |
predict
predicts the probabilities for given combinations of abundance and energ from the “ecosystem structure
function” R(n,\epsilon)
predictESF(esf, abund, power)
esf |
A fitted object of class |
abund |
A vector of abundances |
power |
A vector of metabolic rates |
Uses a fitted object of class meteESF
and user supplied values of abundance and power to predict values of the ESF
a data.frame with abundance, power, and the predicted value of the ESF
Andy Rominger <ajrominger@gmail.com>, Cory Merow
Harte, J. 2011. Maximum entropy and ecology: a theory of abundance, distribution, and energetics. Oxford University Press.
meteESF
## 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))