Zhu, J., W. Pan, W. Zheng, and X. Wang. “Ball: An R Package for Detecting Distribution Difference and Association in Metric Spaces”. Journal of Statistical Software, vol. 97, no. 6, Mar. 2021, pp. 1-31, doi:10.18637/jss.v097.i06.