AllKendall {RMallow} | R Documentation |
Calculates all of the Kendall's distances between two different sets of rankings.
AllKendall(r, seqs, data.info = NULL)
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". |
Matrix where output[i, j] represents the distance from sequence "i" in "r" to sequence "j" in "seqs".
Erik Gregory
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)