Description Usage Arguments Value Examples
Create a data frame of distances between groups of items.
1 | dist_groups(d, g)
|
d |
A distance matrix object of class |
g |
A factor representing the groups of objects in |
A data frame with 6 columns:
The items being compared.
The groups to which the items belong.
A convenient label for plotting or comparison.
The distance between Item1 and Item2.
1 2 3 4 |
Item1 Item2 Group1 Group2 Label Distance
1 A B Control Control Within Control 2
2 A C Control Treatment Between Control and Treatment 4
3 A D Control Treatment Between Control and Treatment 6
4 B C Control Treatment Between Control and Treatment 2
5 B D Control Treatment Between Control and Treatment 4
6 C D Treatment Treatment Within Treatment 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.