Description Usage Arguments Value Author(s) Examples
View source: R/GetAllPartitionCombinations.R
Given a set of partition sizes and labels produces all possible combinations.
1 | GetAllPartitionCombinations(PartitionSizes, Labels)
|
PartitionSizes |
A numeric vector of partition sizes. |
Labels |
A character vector of labels. |
A matrix of all possible label combinations.
Graeme T. Lloyd graemetlloyd@gmail.com
1 2 | # Get information for trees with N tips:
GetAllPartitionCombinations(c(1,2,3), LETTERS[1:6])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.