Function neutral_analytical::siMetacommunitySpeciesWithAbundance¶
- Defined in File neutral_analytical.cpp
Function Documentation¶
-
long double
neutral_analytical::siMetacommunitySpeciesWithAbundance(const unsigned long &n, const unsigned long &metacommunity_size, const long double &speciation_rate)¶ Calculate the expected number of species with abundance n within a spatially implicit neutral model.
Implementation of the SAD approximation from Vallade and Houchmandzadeh (2003).
- Return
- the number of species with abundance n
- Parameters
n: the number of individuals expected within the speciesmetacommunity_size: the total number of individuals in the communityspeciation_rate: the speciation rate