Hankin, Robin K. S., and Luke J. West. “Set Partitions in R”. Journal of Statistical Software, Code Snippets 23, no. 2 (December 31, 2007): 1–12. Accessed December 4, 2022. https://www.jstatsoft.org/index.php/jss/article/view/v023c02.