untb.package: Unified neutral theory of biodiversity

untb-packageR Documentation

Unified neutral theory of biodiversity

Description

Numerical simulations, and visualizations, of the unified neutral theory of biodiversity

Details

Package untb uses two classes of object to represent an ecosystem: class count and class census. In essence, a count object is a table of species abundances and a census object is a list of individuals. See ?census and ?count for more details. Although objects of either class can be coerced to the other, class count is the preferred form: it is a more compact representation, especially for large ecosystems.

The package simulates neutral ecological drift using function untb(). Function display.untb() displays a semi-animated graphic of an ecosystem undergoing neutral drift.

Author(s)

Robin K. S. Hankin

Maintainer: <hankin.robin@gmail.com>

References

  • S. P. Hubbell 2001. “The Unified Neutral Theory of Biodiversity”. Princeton University Press.

  • R. K. S. Hankin 2007. Introducing untb, an R package for simulating ecological drift under the unified neutral theory of biodiversity. Journal of Statistical Software, volume 22, issue 12

Examples

a <- untb(start=rep(1,100),prob=0.005,gens=5000,keep=FALSE)
preston(a)
no.of.spp(a)

display.untb(start=rep(1,100),prob=0.1,gens=1000)

data(butterflies)
plot(butterflies,uncertainty=TRUE)


untb documentation built on Sept. 11, 2024, 5:14 p.m.