sqrt(sum(((x. - y.)^2) / (xy / sum(xy)))). Cannot handle NA values. When x and y have zeros in the same position, NaNs are produced. Please replace these zeros with pseudo-zeros (i.e. 0.0001) if you wish to use this distance metric.
distance_chi_cpp(x, y)
Arguments
x: (required, numeric vector).
y: (required, numeric vector) of same length as x.