powered by
Determine all unrestricted partitions of an integer. This function is equivalent to the function parts in the partitions package.
partitions(n)
an integer
a matrix whose rows are the n-tuples
# NOT RUN { partitions(5) str(partitions(5)) # }
Run the code above in your browser using DataLab