Description Usage Arguments Value Author(s) Examples
Determine all unrestricted partitions of an integer. This function is equivalent to the function parts in the partitions package.
1 | partitions(n)
|
n |
an integer |
a matrix whose rows are the n-tuples
Robin K. S. Hankin, from package partitions
1 2 | partitions(5)
str(partitions(5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.