unfrequence {Rankcluster} | R Documentation |
This function takes in input a matrix in which the m first columns are the different observed ranks and the last column contains the observation frequency, and returns a matrix containing all the ranks (ranks with frequency>1 are repeated).
unfrequence(data)
data |
a matrix containing rankings and observation frequency. |
a matrix containing all the rankings.
data(quiz)
Y <- unfrequence(quiz$frequency)
Y