| Science home | Future students | Current students | Postgraduate | Research | Staff | Contact us |
| Staff directory | A-Z index | Site map |
The Virtual Marchant SubsamplerA macro for Microsoft ExcelVersion 2 for Excel 97, and a new version for RBy Chris Walsh These files simulate the box subsampler described by Marchant (1989). Instructions are embedded in the excel files, and are included as help files in the R function. One of the routine's applications is demonstrated in Walsh (1997). Please cite this latter paper if you use the macro or the function. For some additional thoughts on subsampling subsequent to Walsh (1997), click here A new version of this utility, with added features, is now available for the statistical language and environment 'R'. This link contains R code for four subsampling functions: sub.sample, a simulated 100-cell box subsampler ssN, a fixed number subsampler ssN.nr, a repeated fixed number subsampler without replacement rarefact, a rarefaction estimator of species richness To use the code, save it as "sub.sample.R" in R's working directory, and enter source(“sub.sample.R”) If you also save the file urban.txt in the working directory, the examples in the above help pages will work. The new sub.sample function allows more flexibility, by allowing subsampling of multiple samples at once (arranged as a sample x taxon matrix). See CRAN for more information about R. To download the macro (for Excel 97, size 170K), virtsmssv2.xls. References
|
|