View source: R/PLMIXfunctions.R
paired_comparisons | R Documentation |
Construct the paired comparison matrix for a partial ordering/ranking dataset.
paired_comparisons(data, format_input, nranked = NULL)
data |
Numeric |
format_input |
Character string indicating the format of the |
nranked |
Optional numeric vector of length |
Numeric K
\times
K
paired comparison matrix: the (i,i')
-th entry indicates the number of sample units that preferred item i
to item i'
.
Cristina Mollica and Luca Tardella
Mollica, C. and Tardella, L. (2017). Bayesian Plackett-Luce mixture models for partially ranked data. Psychometrika, 82(2), pages 442–458, ISSN: 0033-3123, <doi:10.1007/s11336-016-9530-0>.
rank_summaries
data(d_dublinwest)
paired_comparisons(data=d_dublinwest, format_input="ordering")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.