Supplement 1. R code for conducting the statistical analysis described in the main text.

<h2>File List</h2><div> <p><a href="R_code.R">R_code.R</a> (MD5: eb4a55faf02614a7f20f05f2f6117fc2) </p> </div><h2>Description</h2><div> <p>The code contains the function to estimate the relative contributions of selection, drift, dispersal limitation, and homogenizing dispersal to the community assembly of the heath vegetation, as well as the function to evaluated the importance of abiotic variables and spatial eigenvectors to the abundance of species through a Redundancy Analysis.</p> </div>