Skip to contents

Apply a list of quorum functions to a votes matrix

Usage

reached_quorums(votes_matrix, quorum_funcs)

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.

Value

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

See also

quorum_functions to create a list of quorum functions.