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 November 24, 2024. https://www.jstatsoft.org/index.php/jss/article/view/v023c02.