Subirana, I., H. Sanz, and J. Vila. “Building Bivariate Tables: The CompareGroups Package for R”. Journal of Statistical Software, vol. 57, no. 12, May 2014, pp. 1-16, doi:10.18637/jss.v057.i12.