reached_quorum_any_district {proporz}R Documentation

Check if lists/parties have reached a quorum in at least one district

Description

Base implementation, used by quorum_any() and quorum_all().

Usage

reached_quorum_any_district(votes_matrix, quorum_districts)

Arguments

votes_matrix

votes matrix

quorum_districts

Vote threshold a party must reach in at least one district. Used as quota of total votes within a district if less than 1 otherwise as number of votes. Must be greater than 0.

Value

boolean vector with length equal to the number of lists/parties (votes_matrix rows) whether they reached the quorum or not

See Also

reached_quorum_total()

Examples

(vm = matrix(c(239, 10, 308, 398, 20, 925), nrow = 3))
reached_quorum_any_district(vm, 25)

[Package proporz version 1.5.0 Index]