Function neutral_analytical::siMetacommunitySpeciesWithAbundance

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 species
  • metacommunity_size: the total number of individuals in the community
  • speciation_rate: the speciation rate