View source: R/unsupervised-mds.R
| plot_mds | R Documentation |
Visualize MDS results
plot_mds(mds_obj, color_by = NULL, label_points = TRUE, dim_x = 1, dim_y = 2)
mds_obj |
A tidy_mds object |
color_by |
Optional variable to color points by |
label_points |
Logical; add point labels? (default: TRUE) |
dim_x |
Which dimension for x-axis (default: 1) |
dim_y |
Which dimension for y-axis (default: 2) |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.