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

View source: R/quorum.R

reached_quorumsR Documentation

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)

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_all(), quorum_any() to create a list of quorum functions.


polettif/proporz documentation built on Feb. 20, 2025, 11:19 a.m.