-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.qmd
33 lines (26 loc) · 1.31 KB
/
README.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: PRcalc
subtitle: Allocation! Measuring disproportionality! Decompsition! and Visualization!
author:
- name: Jaehyun Song
affiliations: Kansai University
email: [email protected]
url: https://www.jaysong.net/
- name: Yuta Kamahara
affiliations: Yokohama National University
email: [email protected]
url: https://sites.google.com/site/yutakamaharapolisci/
date-modified: today
---
![](https://www.jaysong.net/PRcalc/figs/prcalc.png){fig-align="center" width=200px}
:::{.callout-important}
## {PRcalc} is under development!!
Please use {PRcalc} ONLY for testing purposes.
:::
## Description
{PRcalc} is an R package that calculates the seat allocation by selecting the highest average methods for the proportional representation system and computes the degree of **disproportionality**. It also enables to calculate the seat allocation by choosing the several methods of seat allocation for territorially defined constituencies and computes the degree of **malapportionment**. Notably, this package can be utilized to decompose $\alpha$-divergence for *inter-* and *intra-*coalition disproportionality as well as *inter-* and *intra-*state malapportionment.
## Installation
```r
# If {remotes} is not installed, install {remotes} package.
remotes::install_github("JaehyunSong/PRcalc")
```