Learn R Programming

Clustering (version 1.7)

calculate_dunn: Method to calculate the dunn

Description

Method to calculate the dunn

Usage

calculate_dunn(distance = NULL, clusters, datadf = NULL, method = "euclidean")

Arguments

distance

dissimilarity matrix

clusters

array that containe tha data grouped in cluster

datadf

dataframe with original data

method

indicates the method for calculating distance between points

Value

returns a double with the result of the dunn calculation