alonso | R Documentation |
Various functions from Alonso and McKane 2004 dealing with analytical solutions of a neutral model of biodiversity
alonso.eqn6(JM, n, theta)
alonso.eqn11(J, n, theta)
alonso.eqn12(J, n, theta, give=FALSE)
J , JM |
Size of the community and metacommunity respectively |
n |
Abundance |
theta |
Biodiversity constant |
give |
In function |
Notation follows that of Alonso and McKane 2004
Function alonso.eqn6()
is identical to function
vallade.eqn5()
Robin K. S. Hankin
D. Alonso and A. J. McKane 2004. “Sampling Hubbell's neutral model of biodiversity”, Ecology Letters 7:901-910
J <- 100
plot(1:J , alonso.eqn11(J,n=1:J,
theta=5),log="y",type="l",xlab="n",ylab=expression(S(n)),main="Eqns
11 and 12 of Alonso and McKane")
points(1:J , alonso.eqn12(J,n=1:J, theta=5),type="l",lty=2)
legend("topright",legend=c("equation 11","equation 12"),lty=1:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.