[R] Resample with replacement to produce many rarefaction curves with same number of samples

Stefan Evert stefanML at collocations.de
Thu Sep 8 14:46:03 CEST 2016


> On 7 Sep 2016, at 00:07, Nick Pardikes <nickpardikes at gmail.com> wrote:
> 
> Is there any way to use rarecurve to resample a community (row) with
> replacement the same number of times for all 50 communities? With
> replacement is important because the communities differ greatly in their
> size (number of species).

Are you sure it makes sense to resample with replacement?  This will systematically underestimate the number of species at a given sample size (because of the artificial repetition) and will never find more species than there are in your original sample.

Best,
Stefan


More information about the R-help mailing list