Hubbell's phi: counts of species abundances
Ecosystem vector; is coerced to class
Boolean with default
Frequency data (eg as returned by
Character; species name to prepend (using
phi() coerces its argument to a
count object and
by default returns a named vector whose ith element is the
number of species with i individuals. The name of the
ith element is the species with abundance i if unique
and empty otherwise. Function
phi() is used by
unphi() does the reverse: given the output of
phi(), it returns a corresponding
count object. Note that
species names are lost.
The code for setting the names is a dog's breakfast
Robin K. S. Hankin
S. P. Hubbell 2001. “The Unified Neutral Theory of Biodiversity”. Princeton University Press.
1 2 3 4 5 6 7 8 9 10
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.