Other packages > Find by keyword >

pref  

Preference Voting with Explanatory Graphics
View on CRAN: Click here


Download and install pref package within the R console
Install from CRAN:
install.packages("pref")

Install from Github:
library("remotes")
install_github("cran/pref")

Install by package version:
library("remotes")
install_version("pref", "0.4.0")



Attach the package and use:
library("pref")
Maintained by
Denis Mollison
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-02-02
Latest Update: 2024-02-02
Description:
Implements the Single Transferable Vote (STV) electoral system, with clear explanatory graphics. The core function stv() uses Meek's method, the purest expression of the simple principles of STV, but which requires electronic counting. It can handle votes expressing equal preferences for subsets of the candidates. A function stv.wig() implementing the Weighted Inclusive Gregory method, as used in Scottish council elections, is also provided, and with the same options, as described in the manual. The required vote data format is as an R list: a function pref.data() is provided to transform some commonly used data formats into this format. References for methodology: Hill, Wichmann and Woodall (1987) , Hill, David (2006) , Mollison, Denis (2023) , (see also the package manual pref_pkg_manual.pdf).
How to cite:
Denis Mollison (2024). pref: Preference Voting with Explanatory Graphics. R package version 0.4.0, https://cran.r-project.org/web/packages/pref. Accessed 08 Jun. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited pref R package
View pref citation profile
Other R packages that pref depends, imports, suggests or enhances
Complete documentation for pref
Functions, R codes and Examples using the pref R package
Some associated functions: c99 . cnc17 . hc12 . j02 . nws17 . p17 . pref.data . stv . stv.plots . stv.wig . y12 . 
Some associated R codes: c99.R . cnc17.R . functions_input.R . functions_meek.R . functions_output.R . hc12.R . j02.R . nws17.R . p17.R . pref_data.R . stv.R . stv_plots.R . stv_wig.R . y12.R .  Full pref package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

FluMoDL  
Influenza-Attributable Mortality with Distributed-Lag Models
Functions to estimate the mortality attributable to influenza and temperature, using distributed-la ...
Download / Learn more Package Citations See dependency  
penppml  
Penalized Poisson Pseudo Maximum Likelihood Regression
A set of tools that enables efficient estimation of penalized Poisson Pseudo Maximum Likelihood reg ...
Download / Learn more Package Citations See dependency  
geofacet  
'ggplot2' Faceting Utilities for Geographical Data
Provides geographical faceting functionality for 'ggplot2'. Geographical faceting arranges a sequen ...
Download / Learn more Package Citations See dependency  
AdvBinomApps  
Upper Clopper-Pearson Confidence Limits for Burn-in Studies under Additional Available Information
Functions to compute upper Clopper-Pearson confidence limits of early life failure probabilities and ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
ODMeans  
OD-Means: k-Means for Origin-Destination
OD-means is a hierarchical adaptive k-means algorithm based on origin-destination pairs. In the fir ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA