get_dist | R Documentation |
Get the distance matrices from objects fitted with the function
clustering()
. This is especially useful to get distance matrices
from several objects to be further analyzed using pairs_mantel()
.
get_dist(..., digits = 2)
... |
Object(s) of class |
digits |
The number of significant figures. Defaults to |
A list of class clustering
.
Tiago Olivoto tiagoolivoto@gmail.com
library(metan) d <- data_ge2 %>% mean_by(GEN) %>% column_to_rownames("GEN") %>% clustering() get_dist(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.