# 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.

• n: the number of individuals expected within the species
• metacommunity_size: the total number of individuals in the community
• speciation_rate: the speciation rate