Code for recreating the analyses of McGlinn and Palmer (2010). The manuscript has an online supplement which is replicated here. The purpose of replicating the online supplement associated with the manuscript is to increase the visibility of the simulation approach used in the manuscript.
McGlinn, D.J. and M.W. Palmer. 2010. Spatial structure alters the shape of the unimodal species richness-biomass relationship in a neutral model. Diversity. 2: 550-560. http://www.mdpi.com/1424-2818/2/4/550