a <- untb(n=50, prob=0.01, gens=2000, keepall=TRUE, start.mono=TRUE)
plot(species.count(a),type="b")
matplot(species.table(a),type="l",lty=1)
jj <- a[2000,]
print(jj)
species.abundance(jj)
gg <- c(rep("a",10),rep("b",3),letters[5:9])
normalize(gg)
phi(gg)
## Thus there are 5 species with one individual (ie singletons) , zero
## species with two individuals, one species with three individuals, and
## so on.
data(butterflies)
phi(butterflies)
Run the code above in your browser using DataLab