Various functions from Alonso and McKane 2004
alonso.Rd
Various functions from Alonso and McKane 2004 dealing with analytical solutions of a neutral model of biodiversity
Arguments
- J,JM
Size of the community and metacommunity respectively
- n
Abundance
- theta
Biodiversity constant
- give
In function
alonso.eqn12()
, Boolean with defaultFALSE
meaning to return the value of the integral, andTRUE
meaning to return the full output ofintegrate()
References
D. Alonso and A. J. McKane 2004. “Sampling Hubbell's neutral model of biodiversity”, Ecology Letters 7:901-910
Note
Function alonso.eqn6()
is identical to function
vallade.eqn5()
Examples
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)