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

Description Usage Arguments Value Author(s) Examples

View source: R/AllKendall.R

Description

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

Usage

1
  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

1
2
3
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)

RMallow documentation built on Feb. 7, 2020, 9:06 a.m.