Notes S1 from Narrow habitat breadth and late-summer emergence increases extinction vulnerability in Central European bees

R code for hierarchical Bayesian models estimating the effects of functional traits on extinction risk, fit via JAGS using the R2jags library.