Container for class distance.

# S4 method for distance
show(object)

Arguments

object

object of class distance

Fields

distance

two-dimensional matrix of mode numeric with rows as types, columns as types, and elements containing the pairwise distance of types

dat_id

object of class character describing the class of distance / similarity being used, e.g. "naive", "taxonomic", and so on

components

list containing the components necessary to calculate similarity. This list is empty when precompute_dist = TRUE when calculating distance. When a pairwise distance matrix is too large and precompute_dist = FALSE, this list contains all the information required to calculate pairwise distance between types