average_linkage_distance: Calculates the average linkage distance between two clusters

Description Usage Arguments Value See Also

View source: R/distance.R

Description

Calculates the average linkage distance between two clusters

Usage

1
2
average_linkage_distance(matrix_1, matrix_2, distance = "euclidean",
  output = "mean")

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'.

output

Whether to output the mean of all the distances or a vector of all the distances. Options are "mean" or "raw".

Value

Real positive number representing the distance. Or vector of all distances

See Also

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


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