sad: METE species abundance distribution

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/sad.meteESF.R

Description

sad.mete returns the species abundance distribution predicted by METE (Φ(n))

Usage

1
2
3
4
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

1
2
3
4
5
6
7
8
9
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))

Example output

Species abundance distribution predicted using raw data 
with parameters: 
      S0       N0       E0 
   76.00   547.00 15868.26 
    la1     la2 
0.03793 0.00496 
 [1] 22  2  1  1  4  1  2 10  1  1  1 39  1  3  5 10  4 10  2  4
 [1]   1   1   1   2   2   4   6   9  17 547

meteR documentation built on May 2, 2019, 11:04 a.m.