Description Usage Arguments Value
Generate all unique partitions* of size n
1 | generate_parts(n, verbose = FALSE)
|
n |
number of people in cluster |
verbose |
if TRUE print the loop number |
a list of length n, where each list entry is named "gy" where y is the number of generations (between 1 and n). Each entry is a matrix with number of rows y where each column sums to n, each entry in the matrix is strictly positive.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.