View source: R/unsupervised-mds.R
| tidy_mds_classical | R Documentation |
Performs classical multidimensional scaling using cmdscale()
tidy_mds_classical(dist_mat, ndim = 2, add_rownames = TRUE)
dist_mat |
A distance matrix (dist object) |
ndim |
Number of dimensions (default: 2) |
add_rownames |
Preserve row names from distance matrix (default: TRUE) |
A tidy_mds object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.