vshar {JudgeIt}R Documentation

vshar - vote share given two vote totals

Description

Given two vote totals (or fractions), outputs the share of the vote received by the first party.

Usage

vshar(r1, r2)

Arguments

r1,r2 vectors of total votes or fractions.

Value

r1/(r1+r2)

Author(s)

Andrew C. Thomas


[Package JudgeIt version 1.3.3 Index]