dist_groups: Create a data frame of distances between groups of items.

Description Usage Arguments Value Examples

View source: R/distance_matrix.R

Description

Create a data frame of distances between groups of items.

Usage

1

Arguments

d

A distance matrix object of class '"dist"'.

g

A factor representing the groups of objects in 'd'.

Value

A data frame with 6 columns. "Item1" and "Item2" identify the items compared, using the label if available. Likewise, "Group1" and "Group2" identify the groups of the items. "Label" is a factor giving a convenient label for the type of comparison. Finally, "Distance" contains the distance of interest.

Examples

1
2
3

qiimer documentation built on May 2, 2019, 6 a.m.