[R] Resshufling algorithm (Thiago Souza)

From: Thiago Souza <thiagoaracno_at_gmail.com>
Date: Sat, 19 Jul 2008 11:07:31 -0300

Hi folks!

I'm a beginner and I'm learning how to use R.

I need to calculate the value of Simpson Diversity Index (*D*=1-Σ*pi*^2; where *p* is the relative abundance of the species* i*) of one sample (e.g., diversity of bromeliad spiders) and test the significance of this value. For this I'll need to randomize samples while conserving the observed species abundance and sample-size distributions. After this, in need to repeate these randomizations 10.000 times to form a null distribution and assessing the statistical significance by compare the observad D value with the null distribution.
But unfortunately, I don't know how to run this procedure in R software.

Please, can anybody help me?

Thank you in advance

Thiago Gonçalves-Souza

        [[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 19 Jul 2008 - 14:10:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 19 Jul 2008 - 16:31:49 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive