Container for class similarity.

# S4 method for similarity
show(object)

Arguments

object

object of class similarity

Fields

similarity

two-dimensional matrix of mode numeric with rows as types, columns as types, and elements containing the pairwise similarity 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

parameters

list containing parameters associated with converting pairwise distances to similarities (the dist2sim() arguments)