Learn R Programming

RMallow (version 1.1)

KendallInfo: All information used to calculate Kendall's distance.

Description

Performs each column-wise comparison on a matrix of sequences. A 0 value denotes that there is an increase between the two columns, 1 a decrease, and NA indicates that the column values are identical in the row.

Usage

KendallInfo(r, inds = NULL)

Arguments

r

Matrix of sequences.

inds

Possibly efficiency increase when doing repeated calculations, currently not used.

Value

Matrix of 0s, 1s, and NAs representing pairwise comparisons of vector values.

References

http://en.wikipedia.org/wiki/Kendall_tau_distance