Supplement 1. R program code for estimating parameters of spatial point models and generating the expected SARs for each model. ShenGuochun YuMingjian HuXin-Sheng MiXiangcheng RenHaibao SunI-Fang MaKeping 2016 <h2>File List</h2><blockquote> <p><a href="main_function.r">main_function.r</a></p> </blockquote><h2>Description</h2><blockquote> <p>This program is to test the effects of environmental factors and dispersal on species–area relationships(SARs). Detail instructions for the program can be found in the file. The main algorithms used in this program are described in <a href="appendix-A.pdf">Appendix A</a>.</p> </blockquote>