Supplement 1. R code for a randomization test.
random.area.R (md5: 9dde0280e365e0bb72097358f7c47896)
random.area.R contains R code for a randomization test that continuously selects sample units randomly until the total area of the selected unit exceeds a given threshold. The code may be called from an R program as an external function, or it may be placed in-line within an R program.