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.


usedist documentation built on March 2, 2020, 1:07 a.m.