Learn R Programming

pandemonium (version 0.2.4)

getBenchmarkInformation: Compute cluster information

Description

The returned tibble contains the id of the cluster benchmark, the cluster radius and diameter, and group number for each cluster.

Usage

getBenchmarkInformation(dmat, groups)

Value

data frame with cluster information

Arguments

dmat

distance matrix

groups

groups resulting from clustering

Examples

Run this code
dists <- getDists(Bikes$space1,"euclidean")
fit <- stats::hclust(dists, "ward.D2")
groups <- stats::cutree(fit, k = 4)
getBenchmarkInformation(as.matrix(dists), groups)

Run the code above in your browser using DataLab