untb-package | R Documentation |
Numerical simulations, and visualizations, of the unified neutral theory of biodiversity
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.
Robin K. S. Hankin
Maintainer: <hankin.robin@gmail.com>
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
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.