Description Usage Arguments Value Note Author(s) References Examples
Performs between-column comparison on a matrix of sequences denoting
sign([,i] - [,j])
for i < j
.
1 | KendallInfo(r)
|
r |
A vector or a matrix of dimension |
A matrix of dimension N x choose(n,2)
with entry values -1/1/0 representing pairwise comparisons of
vector values for each row. Specifically, a -1 value denotes that there is
an increase between the two columns, 1 a decrease, and 0 indicates that
the column values are identical in the same row.
A matrix with one row is returned if the input "r
" is a vector.
Yunlong Jiao
Yunlong Jiao, Jean-Philippe Vert. "The Kendall and Mallows Kernels for Permutations." IEEE Transactions on Pattern Analysis and Machine Intelligence (TPAMI), vol. 40, no. 7, pp. 1755-1769, 2018. DOI:10.1109/TPAMI.2017.2719680
1 2 | r <- do.call('rbind', combinat::permn(1:5))
KendallInfo(r)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.