untb (version 1.0-9)

untb-package: Unified neutral theory of biodiversity

Description

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

Arguments

Details

ll{ Package: untb Type: Package Version: 1.0 Date: 2005-10-26 License: GPL } The package has two main engines: untb(), which tracks an ecosystem through neutral drift; and display.untb(), which displays a semi-animated graphic.

Function untb() produces by default an integer vector of length n. Each element of this vector corresponds to an organism (member of an ecosystem) and its species is the value of the element.

Functions species.count() et seq compute ecologically interesting diagnostics such as species count and so on.

References

S. P. Hubbell. The Unified Neutral Theory of Biodiversity. Princeton University Press, 2001.

Examples

Run this code
a <- untb(1000,prob=0.005,gens=5000,keep=FALSE,start.mono=TRUE)
preston(a)
species.count(a)
species.abundance(a)

display.untb(n=100,prob=0.1,gens=1000)

data(butterflies)
species.curve(butterflies,show=TRUE)

Run the code above in your browser using DataCamp Workspace