dist_multi_centroids: Make a new distance matrix of centroid distances between...

Description Usage Arguments Value

Description

Make a new distance matrix of centroid distances between multiple groups

Usage

1
dist_multi_centroids(d, g, squared = FALSE)

Arguments

d

A distance matrix object of class dist.

g

A factor representing the groups of items in d.

squared

If TRUE, return the squared distance between centroids.

Value

A distance matrix of distances between the group centroids.


kylebittinger/usedist documentation built on Oct. 24, 2021, 12:43 p.m.