sipd {meteR} | R Documentation |
Extract species level individual power distribution from ESF object and return object inheriting from meteDist. This distribution (Theta) describes the distribution of metabolic rates across the individuals of a species with n individuls
sipd(x, ...)
## S3 method for class 'meteESF'
sipd(x, sppID, n, ...)
x |
An object of class meteESF (i.e. the fitted distribution |
... |
arguments to be passed to methods |
sppID |
the name or index of the species of interest as listed in the |
n |
integer. Alternatively can extract METE prediction by indicating number of individuals in the species |
If n
is provided then only the theoretical prediction is returned (because
data from multiple species could map to the same n). Thus if data and prediction are
desired use sppID
.
An object of class meteDist
. The object contains a list with the following elements.
The data used to construct the prediction
density funciton
cumulative density function
quantile funtion
random number generator
Vector of Lagrange multipliers
State variables used to constrain entropy maximization
Specifies the type of distribution is 'sad'
Andy Rominger <ajrominger@gmail.com>, Cory Merow
Harte, J. 2011. Maximum entropy and ecology: a theory of abundance, distribution, and energetics. Oxford University Press.
sad.meteESF, ipd.meteESF, metePsi
Other Theta: meteTheta
data(arth)
esf1 <- meteESF(spp=arth$spp,
abund=arth$count,
power=arth$mass^(.75),
minE=min(arth$mass^(.75)))
sipd1 <- sipd(esf1, sppID=5)
sipd1