canberra_distance: Canberra Distance

Description Usage Arguments Value References

View source: R/canberra_distance.R

Description

Calculate the Canberra Distance between two vectors of feature ranks. Input vectors must both be numeric and have equal cardinality.

Usage

1

Arguments

x

a numeric vector

y

a numeric vector

scale

logical; if TRUE then the canberra distance is scaled by the 1 - (maximum possible distance) to give a value between 0 and 1. 1 = vectors are identical, 0 = no similiarity

Value

a numeric value for the canberra distance

References

Jurman, G., Merler, S., Barla, A., Paoli, S., Galea, A., Furlanello, C., 2008. Algebraic stability indicators for ranked lists in molecular profiling. Bioinformatics 24 (2):258-264


wilsontom/modelmisc documentation built on Nov. 22, 2019, 12:22 a.m.