ward_distance: Calculates the ward distance between two clusters

Description Usage Arguments Value See Also

View source: R/distance.R

Description

Uses data from two matricies, representing a cluster each and calculates the ward distance between each cluster.

The ward distance is the increase in variance that results in merging two clusters. The greater the variance cost of merging clusters, the greater the difference between the two clusters.

Usage

1
ward_distance(matrix_1, matrix_2, distance = "euclidean")

Arguments

matrix_1

Data for cluster 1. Cell by reduced dimension components

matrix_2

Data for cluster 2 . Cell by reduced dimension components

distance

Point to point distance method to use. e.g. 'euclidean'.

Value

Real positive number representing the distance.

See Also

Other cluster_distance: average_linkage_distance, centroid_linkage_distance, complete_linkage_distance, mahalanobis_distance, single_linkage_distance


sbrn3/disscat documentation built on Dec. 12, 2019, 7:54 a.m.