Learn R Programming

meteR (version 1.2)

metePsi: Equation of the PMF for the METE individual metabolic rate distribution

Description

metePsi is a low level function to calculate the value of $\Psi(e | N_0, S_0, E_0)$ (the distribution of metabolic rates/power across all individuals in a commmunity) at the given value of e; vectorized in e.

Usage

metePsi(e, la1, la2, Z, S0, N0, E0)

Arguments

e
the value (metabolic rate/power) at which to calculate $\Psi$
la1,la2
Lagrange multipliers
Z
partition function
S0
Total number of species
N0
Total number of individuals
E0
Total metabolic rate

Value

numeric vector of length equal to length of e

Details

Typically only used in ipd.meteESF and not called by the user.

References

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

See Also

ipd.mete

Examples

Run this code
data(arth)
esf1 <- meteESF(spp=arth$spp,
                abund=arth$count,
                power=arth$mass^(.75),
                minE=min(arth$mass^(.75)))
metePsi(1:10,
        esf1$La[1],esf1$La[2],
        esf1$Z,esf1$state.var['S0'],
        esf1$state.var['N0'],
        esf1$state.var['E0'])

Run the code above in your browser using DataLab