Calculates the Distance between Rankings for different Metrics

cayley | Cayley's Distance |

cayleyE | Cayley's Distance with Ties |

cayleyP | Cayley's Distance for Partial rankings |

fifa16 | Voting data from 2016 FIFA Best Player of the Year |

ham | Hamming Distance |

hamE | Hamming Distance with Ties |

hamG | Hamming Distance for any Number of Ties |

hamP | Hamming Distance for Partial rankings |

inv | Inverse Permutation |

kend | Kendall's Tau |

kendE | Kendall's Tau for Tankings with Ties |

kendG | Kendall's Tau for any Number of Ties |

kendP | Kendall's Distance for Partial rankings |

kendR | computes Kendall's distance |

labour | Voting data from the 2010 UK Labour leadership election. |

nig3 | nig3 |

nij | computes the no of elements that are in the ith group in a... |

perm | non decreasing permutations |

pmult | Metrics for Rankings |

RankMetric | Metrics for Rankings |

spear | Spearman's Rho |

spearE | Spearman's Rho for rankings with Ties |

spearfoot | Spearman's Footrule |

spearfootE | Spearman's Footrule with Ties |

spearfootG | Spearman's Footrule for any Number of Ties |

spearfootP | Spearman's Footrule for Partial rankings |

spearG | Spearman's Rho for any Number of Ties |

spearP | Spearman's Rho for Partial rankings |

ulam | Ulam's Distance |

ulamE | Ulam's distance with Ties |

ulamG | Ulam's distance for any Number of Ties |

ulamP | Ulam's Distance for Partial rankings |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.