Voter classes are used to represent voters having various roles (Normal, Voter, Agenda Setter).

Voter(position, role = "Normal")

Veto(position)

AS(position)

RandomVoter(position)

Arguments

position

A position vector or matrix, either indicating the voter's position once (notwithstanding drift and vibration) or for all voting iterations.

role

(optional) The role of the voter, one of "Normal", "Veto", "AS" and "Random". Can only be used with the Voter() constructor function.

Slots

position

A position vector or matrix.

dimension

An integer specifying the dimension, defaults to length(position) if position is of type vector or ncol(position) if position is of type matrix.

role

The role of the voter, one of "AS", "Veto", "Normal" and "Random".