Myers, J., Huang, S.-F., & Tsay, J. . (2007). Exact Conditional Inference for Two-way Randomized Bernoulli Experiments. Journal of Statistical Software, Code Snippets, 21(1), 1–7. https://doi.org/10.18637/jss.v021.c01