sim.sad: Simulation of species abundance distributions (SAD).
Description
Creates artificial communities following given SADs.
Usage
sim.sad(n, s, sad = "lognormal", sd = 1)
Value
A matrix of species x abundance per species.
Arguments
n
total number of individuals.
s
number of species.
sad
The SAD distribution type (lognormal, uniform, broken stick or geometric). Default is lognormal.
sd
The standard deviation of lognormal distributions. Default is 1.
Details
Species Abundance Distributions may take a number of forms. A lognormal SAD probably is the most supported by empirical data, but we include other common types useful for testing multiple algorithms including several of the functions in BAT.