Learn R Programming

SafeVote (version 1.0.1)

sumOfVotes: internal method, computes column-sums

Description

Renamed from 'sum.votes' to avoid confusion with the generic sum()

Usage

sumOfVotes(votes)

Value

vector of votes for each candidate

Arguments

votes

ballots are rows, candidates are columns