shannon_sim {coda4microbiome} | R Documentation |
Shannon similarity between two compositions
shannon_sim(x, y)
x |
abundance composition (vector) |
y |
abundance composition (vector) |
shannon similarity (value between 0 and 1)
M. Calle - T. Susin
data(HIV, package = "coda4microbiome")
shannon_sim(x_HIV[1,],x_HIV[2,])