R/sad.R
generate_brokenstick_probabilities.Rd
Simulates a broken-stick partition of the unit interval using runif().
runif()
generate_brokenstick_probabilities(n_species)
Integer (>= 1). Number of species.
Numeric vector of probabilities of length n_species summing to 1.
n_species