search for: setparts

Displaying 1 result from an estimated 1 matches for "setparts".

Did you mean: setpars
2010 Nov 12
3
Partition of a set
Hi I am new on this forum. I am searching for a function in R which provides all partitions of a set, say for the set {1,2,3} you get {{1,2,3}} {1,{2,3}} {2,{1,3}} {3,{1,2}} {{1},{2},{3}} . The number of partitions of a set is given by Bellsche`s number. The number of possibilities of length (this is the number of subsets included in the partition) of the partition is given by the partition