Learn R Programming

meteR (version 1.2)

meteDist2Rank: meteDist2Rank

Description

meteESF calculate the rank distribution of a meteDist object

Usage

meteDist2Rank(x)

Arguments

x
meteDist object

Value

A vector of predicted quantiles, typically used to compare against data as in plot.meteDist

Details

Extracts the predicted rank distribution from a meteDist object. This is effectively the quantile function of the distribution. Used, e.g., in plot.meteDist

References

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

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)
meteDist2Rank(sad1)

Run the code above in your browser using DataLab