View source: R/functions_utility.R
find_all_partitions | R Documentation |
Function to enumerate all possible partitions for a given n
find_all_partitions(n)
n |
number of nodes |
matrix where each line corresponds to a possible partition
n <- 6
all_partitions <- find_all_partitions(n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.