On the challenge of treating various types of variables: application for improving the measurement of functional diversity | Synapse