expected.abundance(J, theta)
count
count()
rand.neutral
expected.abundance(J=10,theta=3) sum(expected.abundance(J=10,theta=3)) #should be 10
Run the code above in your browser using DataCamp Workspace