similarity {rdiversity}R Documentation

Generate similarity object

Description

Container for class similarity.

Usage

similarity(similarity, dat_id)

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

## S4 method for signature '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.


[Package rdiversity version 2.2.0 Index]