display.untb {untb} | R Documentation |
Displays an ongoing simulation of neutral ecological drift using nice colours and a simple animation technique
display.untb(start, gens=100, prob.of.mutate = 0.001, cex=3, individually = TRUE, flash = FALSE, t1 = 0, flashsleep = 0.1, ...)
start |
Starting ecosystem; coerced to class census. Usually,
pass an object of class count; see examples. To start
with a monoculture of size 10, use start=rep(1,10) and to
use start=1:10 . |
prob.of.mutate |
Probability of mutation. |
individually |
Boolean, indicating whether the ecosystem should
evolve simultaneously (FALSE ), or individually (TRUE ) |
gens |
Number of generations to simulate |
cex |
The size of the dots used for plotting, defaulting to 3 |
flash |
Boolean, with TRUE meaning to indicate the site
of a death/birth with a flashing ring; and default FALSE
meaning to omit the flashing ring and thus simulate much faster |
t1 |
Time delay between generations |
flashsleep |
In function display.untb() , time delay of
flashing ring |
... |
Further arguments passed
to plot() and points() . |
Robin K. S. Hankin
S. P. Hubbell. The Unified Neutral Theory of Biodiversity. Princeton University Press, 2001.
data(butterflies) display.untb(start=butterflies,prob=0, gens=1e2)