Learn R Programming

pandemonium (version 0.2.4)

getClusterStats: Compute cluster statistics

Description

For number of clusters k between two and kmax, evaluate cluster statistics collected in output tibble.

Usage

getClusterStats(dist, fit, chivals, kmax = 10)

Value

data frame with cluster statistics

Arguments

dist

distances

fit

result from hclust

chivals

vector with chi2 values

kmax

maximum number of clusters considered