PlotBest.dist: Dotchart which reflects the "best" base distance method

View source: R/plotbest.r

PlotBest.distR Documentation

Dotchart which reflects the "best" base distance method

Description

Plots dotchart with shows correspondences between data and various base distances

Usage


PlotBest.dist(data, distances=c("euclidean", "maximum", "manhattan",
"canberra", "binary", "minkowski"))

Arguments

data

Data frame with values

distances

Distances to use

Details

Shows the "best" distance method. Please note that this is a mere visualization, and numbers are used only to understand the relative correspondence between raw data and distances.

Uses maximal correlations between multidimensional scaling of distance object (converted internally to Euclidean) and PCA of data. Both MDS and PCA use two dimensions.

Author(s)

Alexey Shipunov

Examples


PlotBest.dist(iris[, -5])

PlotBest.dist(t(moldino))


shipunov documentation built on Feb. 16, 2023, 9:05 p.m.