get_dist function

Get a distance matrix

Get a distance matrix

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)

Arguments

  • ...: Object(s) of class clustering.]
  • digits: The number of significant figures. Defaults to 2.

Returns

A list of class clustering.

Examples

library(metan) d <- data_ge2 %>% mean_by(GEN) %>% column_to_rownames("GEN") %>% clustering() get_dist(d)

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com