unfrequence {Rankcluster} | R Documentation |
Convert data
Description
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).
Usage
unfrequence(data)
Arguments
data |
a matrix containing rankings and observation frequency. |
Value
a matrix containing all the rankings.
See Also
Examples
data(quiz)
Y <- unfrequence(quiz$frequency)
Y
[Package Rankcluster version 0.98.0 Index]