Modified permutation test of significance for mean Ellenberg values: R functions

The following two R functions have been published as appendices in the paper Zelený & Schaffers (2012). Use them if you are familiar with R and you know what you are doing. Otherwise, use the stand-alone application described in the section Software. Note: online version of these functions was slightly modified compared to published version to ease it's use.