Calculate similarity for one t(otutab)
cal_sim(totu, totu2 = NULL, method = "bray")
similarity = 1-distance
vegdist
Other calculate:
c_net_calculate()
,
fast_cor()
,
p.adjust.table()
,
read_corr()
if (requireNamespace("vegan")) {
data("otutab", package = "pcutils")
t(otutab) -> totu
cal_sim(totu) -> sim_corr
}
#> Loading required namespace: vegan