Container for class distance.

distance(distance, dat_id)

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

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

Arguments

distance

distance matrix

dat_id

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

Value

distance() returns an object of class distance.