Skip to contents

Geometric-series (niche pre-emption) SAD probabilities

Usage

generate_geometric_probabilities(n_species, k = 0.5)

Arguments

n_species

Integer (>= 1). Number of species.

k

Numeric in (0, 1). Pre-emption parameter. Larger k increases dominance (more individuals in the top-ranked species).

Value

Numeric vector of probabilities of length n_species summing to 1.