dmat_projection | R Documentation |
Plot a 2D MDS projection of a distance matrix
dmat_projection(dmat, point_colors = NULL, point_palette = NULL)
dmat |
distance matrix |
point_colors |
optional list of labels to color points (will be coerced to factor) |
point_palette |
optional palette used with |
a ggplot object
dmat <- dist(iris[, c("Sepal.Width", "Sepal.Length")])
dmat_projection(dmat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.