I reached this repo while looking for R packages for computing multiset partitions, but I may be misunderstanding the documentation. I tried with partitionsGeneral, but I don't understand the output.
To set a common ground, let me use an example. Let's take the multiset $M=\{1,1,2,3\}$. All the possible partitions would be:
- $\{1,1,2,3\}$
- $\{1\},\{1,2,3\}$
- $\{2\},\{1,1,3\}$
- $\{3\},\{1,1,2\}$
- $\{1,1\},\{2,3\}$
- $\{1,2\},\{1,3\}$
- $\{1\},\{1\},\{2,3\}$
- $\{1\},\{2\},\{1,3\}$
- $\{1\},\{3\},\{1,2\}$
- $\{2\},\{3\},\{1,1\}$
- $\{1\},\{1\},\{2\},\{3\}$
Is it possible to get this with this package?
I reached this repo while looking for R packages for computing multiset partitions, but I may be misunderstanding the documentation. I tried with
partitionsGeneral, but I don't understand the output.To set a common ground, let me use an example. Let's take the multiset$M=\{1,1,2,3\}$ . All the possible partitions would be:
Is it possible to get this with this package?