probranks | R Documentation |
Ranks samples from posterior distribution of Bayes linear models for paired comparison data
probranks(samples, ascending = T)
samples |
The posterior draws obtained from |
ascending |
A logical variable default to True for ascending order of the item labels. |
Ranks permutations and ranking probabilities
Prince P. Osei and Ori Davidov
## A graph of three items
## K <- 3 # number of items
## edges <- c(1,2,1,3,2,3) # edge set
## compars <- rep(3,3) # pairwise comparisons
## Tscores <- 1:3-mean(1:3) # The true score sum to zero
## N <- 100 # number of samples to draw
## hh <- postdrawspcd(N,K,compars,Tscores,Edges=edges) # posterior draws
## probranks(hh$drawspost)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.