get_dist {metan} | R Documentation |
Get a distance matrix
Description
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()
.
Usage
get_dist(..., digits = 2)
Arguments
... |
Object(s) of class |
digits |
The number of significant figures. Defaults to |
Value
A list of class clustering
.
Author(s)
Tiago Olivoto tiagoolivoto@gmail.com
Examples
library(metan)
d <- data_ge2 %>%
mean_by(GEN) %>%
column_to_rownames("GEN") %>%
clustering()
get_dist(d)
[Package metan version 1.18.0 Index]