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

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

View source: R/ipd.meteESF.R

Description

metePsi is a low level function to calculate the value of Ψ(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

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

Arguments

e

the value (metabolic rate/power) 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

Details

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

Value

numeric vector of length equal to length of e

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

ipd.mete

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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'])

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