Package: i3pack 0.1.0
i3pack: Incentives for Inter- And Intra-Party Electoral Competition
Suite of functions that help simulate elections under different electoral systems, which are then used to compute incentives generated by these systems in terms of the inter- and intra-party dimensions of electoral competition.
Authors:
i3pack_0.1.0.tar.gz
i3pack_0.1.0.zip(r-4.7)i3pack_0.1.0.zip(r-4.6)i3pack_0.1.0.zip(r-4.5)
i3pack_0.1.0.tgz(r-4.6-any)i3pack_0.1.0.tgz(r-4.5-any)
i3pack_0.1.0.tar.gz(r-4.7-any)i3pack_0.1.0.tar.gz(r-4.6-any)
i3pack_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
i3pack/json (API)
| # Install 'i3pack' in R: |
| install.packages('i3pack', repos = c('https://solivella.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:1d9cabb15f. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 140 | ||
| source / vignettes | OK | 176 | ||
| linux-release-x86_64 | OK | 123 | ||
| macos-release-arm64 | OK | 146 | ||
| macos-oldrel-arm64 | OK | 123 | ||
| windows-devel | OK | 155 | ||
| windows-release | OK | 106 | ||
| windows-oldrel | OK | 86 | ||
| wasm-release | OK | 102 |
Exports:a_vbcdhondtdroopfortified_prhagenbachbischoffhareimperialilim_nommax_nmodsaintelaguepluralitypredict_iiisaintelaguesimulate_electionstv
Dependencies:bitbit64clicliprcpp11crayondplyrgbmgenericsgluehmslatticelifecyclemagrittrMatrixpillarpkgconfigprettyunitsprogresspurrrR6readrrlangstringistringrSTVsurvivaltibbletidyrtidyselecttzdbutf8vctrsvroomwithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Electoral Functions | a_v bc dhondt droop ElecFuns fortified_pr hagenbachbischoff hare imperiali lim_nom modsaintelague plurality saintelague stv |
| Example of total vote count vector | example |
| Auxiliary Internal Functions | find_best_candidates |
| Auxiliary Internal Functions | lsq max_ninf stat_mode |
| Auxiliary Internal Functions | max_n |
| Auxiliary Internal Functions | nominating |
| Predict II Score for a given set of electoral rule configurations | predict_iii |
| Example of ranked vote matrix | ranked |
| Function to simulate a full election in a single district | simulate_election |
| Function to simulate the voting process | voting |
