sad {meteR} | R Documentation |
METE species abundance distribution
Description
sad.mete
returns the species abundance distribution
predicted by METE (\Phi(n)
)
Usage
sad(x)
## S3 method for class 'meteESF'
sad(x)
Arguments
x |
an object of class mete. |
Details
See Examples.
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'
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
metePhi
Examples
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))
[Package meteR version 1.2 Index]