Package: PlackettLuce 0.4.5

PlackettLuce: Plackett-Luce Models for Rankings

Functions to prepare rankings data and fit the Plackett-Luce model jointly attributed to Plackett (1975) <doi:10.2307/2346567> and Luce (1959, ISBN:0486441369). The standard Plackett-Luce model is generalized to accommodate ties of any order in the ranking. Partial rankings, in which only a subset of items are ranked in each ranking, are also accommodated in the implementation. Disconnected/weakly connected networks implied by the rankings may be handled by adding pseudo-rankings with a hypothetical item. Optionally, a multivariate normal prior may be set on the log-worth parameters and ranker reliabilities may be incorporated as proposed by Raman and Joachims (2014) <doi:10.1145/2623330.2623654>. Maximum a posteriori estimation is used when priors are set. Methods are provided to estimate standard errors or quasi-standard errors for inference as well as to fit Plackett-Luce trees. See the package website or vignette for further details.

Authors:Heather Turner [aut, cre], Ioannis Kosmidis [aut], David Firth [aut], Jacob van Etten [ctb]

PlackettLuce_0.4.5.tar.gz
PlackettLuce_0.4.5.zip(r-4.7)PlackettLuce_0.4.5.zip(r-4.6)PlackettLuce_0.4.5.zip(r-4.5)
PlackettLuce_0.4.5.tgz(r-4.6-any)PlackettLuce_0.4.5.tgz(r-4.5-any)
PlackettLuce_0.4.5.tar.gz(r-4.7-any)PlackettLuce_0.4.5.tar.gz(r-4.6-any)
PlackettLuce_0.4.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
PlackettLuce/json (API)
NEWS

# Install 'PlackettLuce' in R:
install.packages('PlackettLuce', repos = c('https://hturner.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hturner/plackettluce/issues

Pkgdown/docs site:https://hturner.github.io

Datasets:
  • beans - Preferred Bean Varieties in Nicaragua
  • nascar - Results from 2002 NASCAR Season
  • pudding - Paired Comparisons of Chocolate Pudding
  • salad - Rankings of Salad Dressings

On CRAN:

Conda:

plackett-luce-modelspreferencesrankingrankings-datastatistical-models

9.62 score 27 stars 3 packages 100 scripts 9.5k downloads 2 mentions 23 exports 38 dependencies

Last updated from:411b1ef67e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK226
source / vignettesOK269
linux-release-x86_64OK259
macos-release-arm64OK168
macos-oldrel-arm64OK229
windows-develOK203
windows-releaseOK189
windows-oldrelOK217
wasm-releaseOK154

Exports:adjacencyas.aggregated_rankingsas.grouped_rankingsas.rankingschoicescompleteconnectivitydecodefreqgroupgrouped_rankingsitemparPlackettLucepladmmplfitpltreeqvcalcrankingsread.socread.soiread.tocread.toistr

Dependencies:backportscheckmateclarabelclicpp11CVXRFormulagluegmphighsigraphinumlatticelibcoinlifecyclemagrittrMatrixmatrixStatsmvtnormosqppartykitpkgconfigpsychotoolspsychotreeqvcalcR6RcppRcppEigenrlangrpartRSpectraS7sandwichscsslamsurvivalvctrszoo

Introduction to PlackettLuce

Rendered fromOverview.Rmdusingknitr::rmarkdownon May 23 2026.

Last update: 2026-03-24
Started: 2017-10-17

Plackett-Luce Models with Item Covariates

Rendered fromPLADMM.Rmdusingknitr::rmarkdownon May 23 2026.

Last update: 2026-03-24
Started: 2021-03-28

Readme and manuals

Help Manual

Help pageTopics
Create an Adjacency Matrix for a set of Rankingsadjacency
Aggregate Rankingsaggregate aggregate.rankings as.aggregated_rankings freq [.aggregated_rankings
Preferred Bean Varieties in Nicaraguabeans
Choices Objectchoices
Complete Orderings with the Missing Redundant Rankcomplete
Check Connectivity of Rankingsconnectivity
Decode Orderings using a Key to Item Namesdecode
Fitted Probabilities for PlackettLuce Objectsfitted.PlackettLuce fitted.pltree
Group Rankingsas.grouped_rankings as.grouped_rankings.paircomp format.grouped_rankings group [.grouped_rankings
Extract Item Parameters of Plackett-Luce Modelsitempar.PlackettLuce itempar.PLADMM itempar.pltree
Results from 2002 NASCAR Seasonnascar
Fit a Plackett-Luce ModelPlackettLuce
Fit a Plackett-Luce Model with Linear Predictor for Log-worthpladmm
Plackett-Luce Treespltree
Plackett-Luce Tree SummariesAIC.pltree coef.pltree pltree-summaries predict.pltree vcov.pltree
Read Preflib Election Data Filesas.aggregated_rankings.preflib preflib read.soc read.soi read.toc read.toi
Paired Comparisons of Chocolate Puddingpudding
Quasi Variances for Model Coefficientsqvcalc.PlackettLuce
Rankings Objectas.rankings as.rankings.default as.rankings.grouped_rankings as.rankings.matrix format.rankings rankings [.rankings
Rankings of Salad Dressingssalad
Simulate from 'PlackettLuce' fitted objectssimulate.PlackettLuce
Plackett-Luce Model Summariescoef.PlackettLuce summaries summary.PlackettLuce vcov.PlackettLuce