k_may: Preemption parameter estimation by the equation of May

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

View source: R/k_may.R

Description

Calculates the estimator of May for the geometric series.

Usage

1
k_may(xs, exclude = TRUE)

Arguments

xs

A vector of ordered counts

exclude

Automatically exclude zeros (if exclude=TRUE)

Details

Solves May equation by using uniroot.

Value

a real value

Note

counts should be ordered from large to small.

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

References

May, R. 1975. Patterns of species abundance and diversity. In Cody, M. and Diamond, M., editors, Ecology and Evolution of Communities, pages 81–120. Harvard Univ. Press.

See Also

k_ls,k_hetang,k_ml

Examples

1
2
3
data("Ganeshaiah")
x <- Ganeshaiah[,2]
k_may(x)

MLpreemption documentation built on Feb. 11, 2021, 5:07 p.m.