50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

SciencesPo (version 1.02.12)

electoralTool: A Toolkit to analyze electoral data electoralTool can be used to analyze both aggregate data and individual voting data.

Description

A Toolkit to analyze electoral data electoralTool can be used to analyze both aggregate data and individual voting data.

Usage

electoralTool(party, district, seats, polar, time, blocks, verbose = TRUE)

Arguments

party
identifies the variable containing party labels. It should be used only when response variable is a frequency variable containing number of votes at the aggregate level.
district
identifies districts. It is required when there are more than one district.
seats
this option can be used to tell the program the number of seats by party. If used, the program will compute proportionality and parliamentary fragmentation.
polar
identifies variables to compute polarization among groups, such as polarization by ideology. Up to five variables are allowed. If you use more than one variable, polarization will be computed using averaged polarization over the whole set of variables. Ab
time
tells the program that the data contains more than one election. This option identifies the date of the election or the order in which elections take place. Using this option means that the program will compute electoral and parliamentary volatitlity betw
blocks
tells the program that parties are grouped into blocks to compute inter and intra blocks volatility. You can only use it if you set time(varname) previously. If you are using time(varname), but do not set blocks(varname), all the parties are suppossed to
verbose
if verbose=TRUE, tells the program to print the output.

encoding

UTF-8