shannon_sim {coda4microbiome} | R Documentation |
shannon_sim
Description
Shannon similarity between two compositions
Usage
shannon_sim(x, y)
Arguments
x |
abundance composition (vector) |
y |
abundance composition (vector) |
Value
shannon similarity (value between 0 and 1)
Author(s)
M. Calle - T. Susin
Examples
data(HIV, package = "coda4microbiome")
shannon_sim(x_HIV[1,],x_HIV[2,])
[Package coda4microbiome version 0.2.4 Index]