dmat_projection {visxhclust} | R Documentation |
Plot a 2D MDS projection of a distance matrix
Description
Plot a 2D MDS projection of a distance matrix
Usage
dmat_projection(dmat, point_colors = NULL, point_palette = NULL)
Arguments
dmat |
distance matrix |
point_colors |
optional list of labels to color points (will be coerced to factor) |
point_palette |
optional palette used with |
Value
a ggplot object
Examples
dmat <- dist(iris[, c("Sepal.Width", "Sepal.Length")])
dmat_projection(dmat)
[Package visxhclust version 1.1.0 Index]