Description Usage Arguments Value Author(s) References Examples
Calculates the distances between a set of rankings or permutations, using one of six metrics.
1 |
x |
matrix where each row is a ranking or a permutation |
metric |
a distance metric, one of
|
perm |
|
ranktype |
indicates the type of ranking
|
k |
the number of items ranked in a partial ranking |
Returns a matrix of the distances between all the rankings/ permutations
in the input matrix. If ranktype
is "anyties"
the function will work for any
type of partial ranking or ranking with ties. However using "full"
for complete rankings
or "partial"
for partial ranking with no ties for that kind of data will run faster.
If the ranking of some of the items is not known or given they can be left as NA
.
Lucy Small, lucy.small@ucdconnect.ie
http://www.springer.com/gp/book/9780387962887
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.