invalid.votes: Extracts the invalid.votes member (if any) from the result of...

View source: R/check_votes.R

invalid.votesR Documentation

Extracts the invalid.votes member (if any) from the result of a count

Description

This method was added Jan 2022 – it was named in a warning message but had apparently either never been implemented, or had been "lost" through versioning.

Usage

invalid.votes(x)

Arguments

x

value returned by stv, condorcet, approval, plurality, or score

Value

matrix with one column per candidate and one row per invalid ballot


SafeVote documentation built on Oct. 6, 2024, 1:07 a.m.