Learn R Programming

proporz (version 1.5.1)

reached_quorums: Apply a list of quorum functions to a votes matrix

Description

Apply a list of quorum functions to a votes matrix

Usage

reached_quorums(votes_matrix, quorum_funcs)

Value

Logical vector with length equal to the number of lists/parties (votes_matrix

rows) showing whether they reached the quorum or not.

Arguments

votes_matrix

votes matrix

quorum_funcs

List of quorum functions. If list, the attribute "type" must be set which indicates whether ALL or ANY (i.e. at least one) quorum must be reached.

This is a low-level implementation for quorum calculations and is called within biproporz(). There's generally no need to call it directly.

See Also

quorum_functions to create a list of quorum functions.