Learn R Programming

meteR (version 1.2)

sad: METE species abundance distribution

Description

sad.mete returns the species abundance distribution predicted by METE ($\Phi(n)$)

Usage

sad(x)
"sad"(x)

Arguments

x
an object of class mete.

Value

An object of class meteDist. The object contains a list with the following elements.
data
The data used to construct the prediction
d
density funciton
p
cumulative density function
q
quantile funtion
r
random number generator
La
Vector of Lagrange multipliers
state.var
State variables used to constrain entropy maximization
type
Specifies the type of distribution is 'sad'

Details

See Examples.

References

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

See Also

metePhi

Examples

Run this code
data(arth)
esf1 <- meteESF(spp=arth$spp,
                abund=arth$count,
                power=arth$mass^(.75),
                minE=min(arth$mass^(.75)))
sad1 <- sad(esf1)
sad1
sad1$r(20)
sad1$q(seq(0,1,length=10))

Run the code above in your browser using DataLab