dist_groups | R Documentation |
This function gets distances per group
dist_groups(d, g)
d |
A distance object |
g |
A grouping vector for the distance object |
A data frame containing distance information between pairs of observations in the distance object, with columns for the names or indices of the observations, the group labels for each observation, and the distance between the observations. The label column indicates whether the distance is within a group or between groups.
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.