[R-sig-eco] rarefaction not working with the min species number
Brian Inouye
bdinouye at bio.fsu.edu
Wed Apr 25 16:29:46 CEST 2012
Although rounding to the nearest integer will make the code run without
an error, it seems like then you are making the implicit assumption that
every unit of abundance is an independent sample with equal probability
of occurrence, equivalent to independent individuals. While I can
imagine that is justifiable for some datasets, in other cases that would
be a dubious assumption.
-Brian
On 4/25/2012 6:00 AM, r-sig-ecology-request at r-project.org wrote:
> From: Stephen Sefick<sas0025 at auburn.edu>
> To: Jari Oksanen<jari.oksanen at oulu.fi>
> Cc: r-sig-ecology<r-sig-ecology at r-project.org>
> Subject: Re: [R-sig-eco] rarefaction not working with the min species
> number
> Message-ID:<4F96B0B9.1050302 at auburn.edu>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Jari,
>
> Many thanks, that did the trick. Here is a little bit of code that
> took my non-integer data (abundance estimates), rounds, and turns the
> numbers into a data.frame with all integers col classes.
>
> community_round2int<- function(L){
More information about the R-sig-ecology
mailing list