[R] Correlation of ranks of labels?

S. Nunes snunes at gmail.com
Wed Nov 4 18:46:45 CET 2009


Hi,

I have two ranks of labels (strings) representing user preferences of colors.
For instance, here is a simple example with 4 preferences for each user:

> rank1
[1] "red"   "blue"  "green"  "black"
> rank2
[1] "white" "gray"  "black" "blue"

How can I compute Kendall's Tau for this scenario?

Thanks in advance,
--
Sérgio Nunes




More information about the R-help mailing list