Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

distances

Distance and Centroid Computation


Description

Helper functions to create kccaFamily objects.

Usage

distAngle(x, centers)
distCanberra(x, centers)
distCor(x, centers)
distEuclidean(x, centers)
distJaccard(x, centers)
distManhattan(x, centers)
distMax(x, centers)
distMinkowski(x, centers, p=2)

centAngle(x)
centMean(x)
centMedian(x)

centOptim(x, dist)
centOptim01(x, dist)

Arguments

x

A data matrix.

centers

A matrix of centroids.

p

The power of the Minkowski distance.

dist

A distance function.

Author(s)

Friedrich Leisch


flexclust

Flexible Cluster Algorithms

v1.4-0
GPL-2
Authors
Friedrich Leisch [aut, cre] (<https://orcid.org/0000-0001-7278-1983>), Evgenia Dimitriadou [ctb], Bettina Gruen [aut] (<https://orcid.org/0000-0001-7265-4773>)
Initial release
2018-09-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.