Proceedings of The Royal Irish Academy: 1. The foundation of the theory of probability II; The relation between metric and affinity