Description Usage Arguments Value Author(s) Examples

View source: R/ALL.r View source: R/labels.R

Given a ranking (or a matrix of rank data), transforms it into an ordering (or a ordering matrix)

1 | ```
labels(x, m, label = 1:m, labs)
``` |

`x` |
a ranking, or a n by m data matrix in which there are n judges ranking m objects |

`m` |
the number of objects |

`label` |
optional: the name of the objects |

`labs` |
labs = 1 displays the names of the objects if there is argument "label", otherwise displays the permutation of first m integer. labs = 2 is to be used only if the argument "label" is not defined. In such a case it displays the permutation of the first m letters |

the ordering

Sonia Amodio [email protected]

1 2 3 4 5 6 |

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.