custom header test
min_ratio(m = runif(20))
Function to calculate the minimum size ratio (larger/next larger) between species within an assemblage.
This index is based on the minimum size ratio (larger/next larger) difference between consecutively ordered species in an assemblage. It is appropriate for morphological traits, but not phenological ones.
Simberloff, D. and W.J. Boecklen. 1981. Santa Rosalia reconsidered: size ratios and competition. Evolution 35: 1206-1228.
MinSizeDif <- min_ratio(rgamma(20,shape=3,scale=2))