R: All Kendall's distances between two sets of rankings.

AllKendall {RMallow} | R Documentation

## All Kendall's distances between two sets of rankings.

### Description

Calculates all of the Kendall's distances between two different sets of rankings.

### Usage

      AllKendall(r, seqs, data.info = NULL)

### Arguments

`r` | One set of sequences.
`seqs` | Another set of sequences.
`data.info` | Optional argument, a 0/1/NA matrix specifying all of the relevant information to calculate Kendall's difference for "r". Used for efficiency in "Solve".

### Value

Matrix where output[i, j] represents the distance from sequence "i" in "r" to sequence "j" in "seqs".

### Author(s)

Erik Gregory

### Examples

    data1 <- do.call("rbind", list(1:5, 5:1, c(3, 2, 1, 4, 5)))
    data2 <- do.call("rbind", list(1:5, 5:1))
    # AllKendall(data1, data2)

[Package RMallow version 1.0 Index]