Other packages > Find by keyword >

ElectDecomp  

Decomposition of Seats-to-Votes Distortions
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("ElectDecomp", "0.0.1-8")



Attach the package and use:
library("ElectDecomp")
Maintained by
Jose M. Pavía
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-07-26
Latest Update: 2025-01-09
Description:
Decomposes the seat-to-vote distortion for every party (individual party bias or individual party deviation from proportional representation) into segments that can be attributed to separate causes for the party infra or over-representation: the electoral system effect (separating the mean and the variance effect within it) and the population effect (separating malapportionment and unequal participation effect within it). It works on (single tired) districted electoral systems with any number of seats per district. In addition, the package aggregates the individual party distortion into an index of deviation from proportionality (the Losemore-Hanbyindex) whose value is also decomposed into segments attributed to the major causes of deviation from proportionality (plus the interactions among them).
How to cite:
Jose M. Pavía (2024). ElectDecomp: Decomposition of Seats-to-Votes Distortions. R package version 0.0.1-8, https://cran.r-project.org/web/packages/ElectDecomp. Accessed 07 Jun. 2026.
Previous versions and publish date:
0.0.1-1 (2024-07-26 21:30)
Other packages that cited ElectDecomp R package
View ElectDecomp citation profile
Other R packages that ElectDecomp depends, imports, suggests or enhances
Complete documentation for ElectDecomp
Functions, R codes and Examples using the ElectDecomp R package
Full ElectDecomp package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
cesR  
Access the Canadian Election Study Datasets
Makes accessing and loading the Canadian Election Study (, ...
Download / Learn more Package Citations See dependency  
embryogrowth  
Tools to Analyze the Thermal Reaction Norm of Embryo Growth
Tools to analyze the embryo growth and the sexualisation thermal reaction norms. See ...
Download / Learn more Package Citations See dependency  
xmlr  
Read, Write and Work with 'XML' Data
'XML' package for creating and reading and manipulating 'XML', with an object model based on 'Refere ...
Download / Learn more Package Citations See dependency  
gRain  
Bayesian Networks
Probability propagation in graphical independence networks, also known as Bayesian networks or prob ...
Download / Learn more Package Citations See dependency  
curtailment  
Finds Binary Outcome Designs Using Stochastic Curtailment
Finds single- and two-arm designs using stochastic curtailment, as described by Law et al. (2022) ...
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