Description Usage Arguments Value
View source: R/shannonRarefy.R
Generate a rarefaction-type curve based on the Shannon-Weaver diversity index.
1 | shannonRarefy(comm, nrep)
|
comm |
A vector with the species ID for each individual in your sample. Each species is represented by a unique integer. |
nrep |
A number representing the number of random resamplings, without replacement, of |
A dataframe with column RAR
representing the rarefaction curve, column SDS
being the standard deviation of the rarefaction curve, and column HOB
representing the Shannon diversity of the full empirical dataset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.