Container for class similarity.

similarity(similarity, dat_id)

# S4 method for matrix,character
similarity(similarity, dat_id)

# S4 method for matrix,missing
similarity(similarity, dat_id)

Arguments

similarity

similarity matrix

dat_id

object of class character denoting the type of diversity being calculated. This can be "naive", "genetic", "taxonomic", and so on

Value

similarity() returns an object of class similarity.