# NOT RUN {
# Return [ [[1,1,1],1], [[1,2],3], [[3],1] ]
# The support of the multiset has all the same eleents
mkmSet(3)
# Return [ [[1,1],[1,0],2], [[1,0],[1,0],[0,1],1],[[2,0],[0,1],1], [[2,1],1] ]
# The support of the multiset has 2 elements with instances respectively 2 and 1.
mkmSet(c(2,1))
# }
Run the code above in your browser using DataLab