get.dmetrics | R Documentation |
Displays the distance metric options for calculation of the distances between the data objects and the cluster centers.
get.dmetrics(dmt="all")
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. |
dmlist |
a two-column matrix containing the distance metrics and their descriptions. |
Zeynel Cebeci
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>
ppclust-package
# Get all distance metrics
dmlist <- get.dmetrics(dmt="all")
dmlist
# Get only L2 type distance metrics
dmlist <- get.dmetrics(dmt="l2")
dmlist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.