| untb-package {untb} | R Documentation |
Numerical simulations, and visualizations, of the unified neutral theory of biodiversity
| Package: | untb |
| Type: | Package |
| Version: | 1.0 |
| Date: | 2005-10-26 |
| License: | GPL |
Package untb uses two classes of object to represent an
ecosystem: class count and class census. In essense, 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.
Robin K. S. Hankin
Maintainer: <r.hankin@noc.soton.ac.uk>
S. P. Hubbell 2001. “The Unified Neutral Theory of Biodiversity”. Princeton University Press.
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)