xydist: Distance or dissimilarity between relative abundance vectors...

Description Usage Arguments

View source: R/math.R

Description

Distance or dissimilarity between relative abundance vectors x and y

Usage

1
xydist(x, y, method = "aitchison", trim = FALSE)

Arguments

method

Distance/dissimilarity measure.

trim

Should x and y be reduced to their common positive elements before computing the Aitchison distance (otherwise, the distance will be Inf).

method == "aitchison" -> Aitchison distance method == "bray" -> Bray-Curtis dissimilarity between x and y. Note, converts x and y to proportions before computing.


mikemc/metacal documentation built on Feb. 20, 2022, 1:46 a.m.