Executes the spatial model of voting, solving, for each iteration, the constrained optimization problem of minimizing the distance of the Status Quo to the Agenda Setter by the means of a majority vote.
Vote(x, ...) # S3 method for formula Vote(formula, drift = NULL, vibration = NULL, iter = 1, keep_winset_objects = TRUE, no_random_veto = FALSE, no_random_normal = FALSE, ...) # S3 method for Voters Vote(voters, sq, drift = NULL, vibration = NULL, iter = 1, keep_winset_objects = TRUE, no_random_veto = FALSE, no_random_normal = FALSE, ...)
... | Additional keyword arguments. |
---|---|
formula | A formula with SQ on LHS and Voters on RHS. |
drift | A vector detailing the drift of each voter in each dimension. |
vibration | A function generating random noise, must take `n` as first argument. |
iter | The number of votes to cast. |
keep_winset_objects | Boolean indicator for whether to keep winset spatial polygons. |
no_random_veto | If there are `"Random"` voters, never assign them to the `"Veto"` role. |
no_random_normal | If there are `"Random"` voters, never assign them to the `"Normal"` role. |