k_may {MLpreemption} | R Documentation |
Preemption parameter estimation by the equation of May
Description
Calculates the estimator of May for the geometric series.
Usage
k_may(xs, exclude = TRUE)
Arguments
xs |
A vector of ordered counts |
exclude |
Automatically exclude zeros (if |
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
Examples
data("Ganeshaiah")
x <- Ganeshaiah[,2]
k_may(x)
[Package MLpreemption version 1.0.1 Index]