bw: Calculate the bw index

Description Usage Arguments Value

View source: R/bw.R

Description

Calculate the bw index

Usage

1
bw(distance, clusters, bw_balance = 1, ind_cluster = FALSE)

Arguments

distance

Distance or Dis-Similarity Matrix

clusters

The clustering to evaluate.

bw_balance

The balance [0, 1] between inner cluster similarity (Compactness) and the similarity between clusters (Separation). A balance value < 1 increases the importance of Compactness, whereas a value > 1 increases the importance of Separation.

ind_cluster

If true, the bw value for all individual clusters is returned.

Value

A score that describes how well the clustering fits the data.


MultIS documentation built on Aug. 6, 2021, 5:07 p.m.