Supplement 1. R program code for estimating parameters of spatial point models and generating the expected SARs for each model.

File List

main_function.r

Description

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 Appendix A.