get_dist: Get a distance matrix

Description Usage Arguments Value Author(s) Examples

View source: R/get_dist.R

Description

[Stable]

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

1
get_dist(..., digits = 2)

Arguments

...

Object(s) of class clustering.]

digits

The number of significant figures. Defaults to 2.

Value

A list of class clustering.

Author(s)

Tiago Olivoto tiagoolivoto@gmail.com

Examples

1
2
3
4
5
6
library(metan)
d <- data_ge2 %>%
      means_by(GEN) %>%
      column_to_rownames("GEN") %>%
      clustering()
get_dist(d)

metan documentation built on Nov. 10, 2021, 9:11 a.m.