rankagg | R Documentation |
Turn individual rankings into a summary matrix.
rankagg(dset)
dset |
each row represent a single ranking |
Return the dataset which summarize the original ranking data.
Paul H. Lee and Philip L. H. Yu
## create an artificial dataset X1 <- c(1,1,2,2,3,3) X2 <- c(2,3,1,3,1,2) X3 <- c(3,2,3,1,2,1) test <- data.frame(X1,X2,X3) ## aggregate the ranking of all the observations and create a summary matrix ## test2 <- rankagg(test)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.