inst/examples/ex_partitioning.R

# All possible partitions of a set with 2 items
partitioning(2)

# All possible partitions of a set with 4 items
P <- partitioning(4)
t(P)
ELIFE-ASU/rinform documentation built on May 26, 2019, 7:25 a.m.