# metePhi: Equation of the METE species abundance distribution In meteR: Fitting and Plotting Tools for the Maximum Entropy Theory of Ecology (METE)

## Description

`metePhi` returns the species abundance distribution (Phi(n)) predicted by METE; vectorized in n

## Usage

 `1` ```metePhi(n, la1, la2, Z, S0, N0, E0) ```

## Arguments

 `n` the value (number of individuals) at which to calculate Φ `la1,la2` Lagrange multipliers `Z` partition function `S0` Total number of species `N0` Total number of individuals `E0` Total metabolic rate

See Examples

numeric

## Author(s)

Andy Rominger <[email protected]>, Cory Merow

## References

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

`sad.mete`
 ```1 2 3 4 5 6 7 8 9``` ```esf1=meteESF(spp=arth\$spp, abund=arth\$count, power=arth\$mass^(.75), minE=min(arth\$mass^(.75))) metePhi(min(arth\$mass^(.75)), esf1\$La[1],esf1\$La[2], esf1\$Z,esf1\$state.var['S0'], esf1\$state.var['N0'], esf1\$state.var['E0']) ```