View source: R/rankManipulation.R
unfrequence | 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.
frequence
data(quiz) Y <- unfrequence(quiz$frequency) Y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.