internal_linkage_distance: Internal distance points in a cluster and the cluster...

Description Usage Arguments Value See Also

View source: R/distance.R

Description

Calculates the distance between every point in a cluster and the mean/centroid of that cluster. Can either output an entire list of all the distances to the centroid or a mean of the distances. Used to measure how dispersed all the points in a cluster are.

Usage

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

Arguments

matrix_1

Data for cluster 1. Cell by reduced dimension components

distance

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

output

Can be either "mean" or "raw". mean will return the mean of all the distances from the centroid. Raw will return a vector of all the distances from every point to the centroid.

Value

Mean or a vector of all the distsances to the centroid.

See Also

Other internal_distance: InternalDistance, internal_distance, internal_mahalanobis_distance


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