Function neutral_analytical::siSpeciesRichness

Function Documentation

long double neutral_analytical::siSpeciesRichness(const unsigned long &community_size, const long double &speciation_rate)

Gets the expected species richness for a spatially implicit neutral model.

Using an analytical approximation identified here by Sam Thompson (but likely an old published result).

the number of species expected to exist
  • community_size: the number of individuals in the community
  • speciation_rate: the speciation rate