Learn R Programming

ElectoralFunctions

Copy Link

Version

Install

install.packages('i3pack')

Monthly Downloads

156

Version

0.1.0

License

GPL (>= 2)

Maintainer

Santiago Olivella

Last Published

June 4th, 2025

Functions in i3pack (0.1.0)

voting

Function to simulate the voting process
nominating

Auxiliary Internal Functions
ranked

Example of ranked vote matrix
predict_iii

Predict II Score for a given set of electoral rule configurations
simulate_election

Function to simulate a full election in a single district
lsq

Auxiliary Internal Functions
max_n

Auxiliary Internal Functions
find_best_candidates

Auxiliary Internal Functions
ElecFuns

Electoral Functions
example

Example of total vote count vector