View source: R/orca_interface.R
cross_comparison_spec | R Documentation |
Creates a cross-comparison matrix with pair-wise combinations of elements from the provided list.
cross_comparison_spec(named_list, how = "many-to-many")
named_list |
A named list of items for which an exhaustive pair-wise cross-comparison is required. |
how |
How to generate pair-wise combinations. Either "many-to-many" (default) which generates all possible pair-wise combinations, or "one-to-many" which generates all combinations between the first element in named_list and the rest of the elements only. |
A matrix with one row for each possible pair-wise combination of elements from the provided named list. The first and second columns contain the names of the elements in the pair and the third and fourth columns contain the indexes of these elements in the provided list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.