Skip to contents

This function gets distances per group

Usage

dist_groups(d, g)

Arguments

d

A distance object

g

A grouping vector for the distance object

Value

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.

Examples

NULL
#> NULL