Fits the SAD to community abundance data with possible rarefaction.
Usage
sad(comm, raref = 0, runs = 100)
Arguments
comm
Either a vector with the abundance per species, or a sites x species matrix.
raref
An integer specifying the number of individuals for rarefaction (individual based).
If raref < 1 no rarefaction is made.
If raref = 1 rarefaction is made by the minimum abundance among all sites.
If raref > 1 rarefaction is made by the abundance indicated.
If not specified, default is 0.
runs
Number of resampling runs for rarefaction. If not specified, default is 100.
Value
A vector or matrix with the different values per class per community.
Details
Classes defined as n = 1, 2-3, 4-7, 8-15, .... Rarefaction allows comparison of sites with different total abundances.