rmall | R Documentation |
This function randomly generates rankings from a Mallows distribution.
rmall(I, pi0, theta, R = NULL)
I |
A numeric entry indicating the number of observations to be drawn, i.e., the number of judges providing rankings and ratings. |
pi0 |
A vector specifying the consensus (modal probability) ranking; should be used only for tie-breaking
equal values in |
theta |
A numeric entry specifying the Mallows scale parameter. |
R |
A numeric entry specifying the length of the rankings to be drawn. When |
A matrix of rankings (orderings) with one row per judge.
rmall(I=5,pi0=1:5,theta=1,R=3)
rmall(I=5,pi0=1:3,theta=.5,R=c(1,1,1,1,3))
rmall(I=5,pi0=1:3,theta=.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.