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

dist_multi_centroidsR Documentation

Make a new distance matrix of centroid distances between multiple groups

Description

Make a new distance matrix of centroid distances between multiple groups

Usage

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 June 1, 2024, 3:25 p.m.