polyplot: Plot rankings on a permutation polytope of 3 o 4 objects...

Description Usage Arguments Details Value Author(s) References See Also Examples

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

Description

Plot rankings a permutation polytope that is the geometrical space of preference rankings. The plot is available for 3 or for 4 objects

Usage

1
polyplot(X = NULL, L = NULL, Wk = NULL, nobj = 3)

Arguments

X

the sample of rankings. Most of the time it is returned by tabulaterows

L

labels of the objects

Wk

frequency associated to each ranking

nobj

number of objects. It must be either 3 or 4

Details

polyplot() plots the universe of 3 objecys. polyplot(nobj=4) plots the universe of 4 objecys.

Value

the permutation polytope

Author(s)

Antonio D'Ambrosio antdambr@unina.it and Sonia Amodio sonia.amodio@unina.it

References

Thompson, G. L. (1993). Generalized permutation polytopes and exploratory graphical methods for ranked data. The Annals of Statistics, 1401-1430. # Heiser, W. J., and D'Ambrosio, A. (2013). Clustering and prediction of rankings within a Kemeny distance framework. In Algorithms from and for Nature and Life (pp. 19-31). Springer International Publishing.

See Also

tabulaterows frequency distribution for ranking data.

Examples

1
2
3
4
polyplot()
#polyplot(nobj=4)
data(BU)
polyplot(BU[,1:3],Wk=BU[,4])

ConsRank documentation built on May 30, 2017, 3:05 a.m.

Search within the ConsRank package
Search all R packages, documentation and source code