get.dmetrics {ppclust}R Documentation

List the names of distance metrics

Description

Displays the distance metric options for calculation of the distances between the data objects and the cluster centers.

Usage

get.dmetrics(dmt="all")

Arguments

dmt

a string for the type of distance metrics. The default is all for the list of all of the distance metrics which are available in the package. The other options are l1, l2, lp, sl2 and sc for L1, L2, Lp, squared L2 and squared Chord, respectively.

Value

dmlist

a two-column matrix containing the distance metrics and their descriptions.

Author(s)

Zeynel Cebeci

References

Podani, J. (2000). Introduction to the Exploration of Multivariate Biological Data. Backhuys Publishers, Leiden, The Netherlands. 407 pages. <ISBN 90-5782-067-6>

McCune, B., & Grace, J. B. (2002). Analysis of ecological communities. Gleneden Beach, Oregon: MjM Software Design. <ISBN:0972129006>

See Also

ppclust-package

Examples

# Get all distance metrics
dmlist <- get.dmetrics(dmt="all")
dmlist

# Get only L2 type distance metrics
dmlist <- get.dmetrics(dmt="l2")
dmlist

[Package ppclust version 1.1.0.1 Index]