uploaded R code from file "ELE code_GitHub.R"

# ==============================================
# = ANALYSIS of CORAL LIFE HISTORY CLUSTERS    =
# ==============================================

#A somewhat messy but intact (and my first GitHub) set of code that underlies the analysis and figures of Darling et al. Ecology Letters
#2012 to describe the multivariate classification of coral life histories based on species traits

#Darling, E. S., Alvarez‐Filip, L., Oliver, T. A., McClanahan, T. R., & Côté, I. M. (2012). 
#Evaluating life‐history strategies of reef corals from species traits. Ecology letters, 15(12), 1378-1386.

#Updated trait information is freely available on www.coraltraits.org for future analyses