powered by
Determine all unrestricted partitions of an integer. This function is equivalent to the function parts in the partitions package.
partitions(n)
a matrix whose rows are the n-tuples
an integer
Robin K. S. Hankin, from package partitions
partitions(5) str(partitions(5))
Run the code above in your browser using DataLab