Function melodic adapted from https://doi.org/10.1007/s00442-016-3546-0

melodic(data_source_community, data_source_dissimilarity)

Arguments

data_source_community

community matrix; sites in lines, species in columns

data_source_dissimilarity

dissimilarity matrix

References

de Bello, F., Carmona, C.P., Leps, J. et al. Functional diversity through the mean trait dissimilarity: resolving shortcomings with existing paradigms and algorithms. Oecologia 180, 933-940 (2016). https://doi.org/10.1007/s00442-016-3546-0

Author

Carlos P. Carmona, Ondrej Mottl