dsm_vec | R Documentation |
Convert dissimilarity matrix into off-diagonal vector
dsm_vec(dsm, lower = TRUE)
dsm |
a single matrix |
lower |
logical indicating selection of lower or upper diagonal |
Robert S. Chavez
cars_dsm <- 1-cor(mtcars) dsm_vec(cars_dsm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.