Barthélemy, Johan, and Thomas Suesse. 2018. “Mipfp: An R Package for Multidimensional Array Fitting and Simulating Multivariate Bernoulli Distributions”. Journal of Statistical Software, Code Snippets 86 (2):1-20. https://doi.org/10.18637/jss.v086.c02.