PlotBest.dist: 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.
Examples
Run this code
PlotBest.dist(iris[, -5])
PlotBest.dist(t(moldino))
Run the code above in your browser using DataLab