meteDist2Rank {meteR}R Documentation

meteDist2Rank

Description

meteESF calculate the rank distribution of a meteDist object

Usage

meteDist2Rank(x)

Arguments

x

meteDist object

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

Value

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

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.

Examples

data(arth)
esf1 <- meteESF(spp=arth$spp,
                abund=arth$count,
                power=arth$mass^(.75),
                minE=min(arth$mass^(.75)))
sad1 <- sad(esf1)
meteDist2Rank(sad1)

[Package meteR version 1.2 Index]