remove_lop: Remove Lopsided Votes

View source: R/remove_lop.r

remove_lopR Documentation

Remove Lopsided Votes

Description

Removes lopsided votes from the voting matrix

Usage

remove_lop(X, terms, minprop = 0.2, ...)

Arguments

X

A vote matrix

terms

A vector of values identifying the term in which the vote was taken.

minprop

The proportion voting in the minority that serves as the cutoff. Votes with fewer than n times minprop votes in the minority will be removed from the vote matrix.

...

other arguments to be passed down - currently not implemented.

Value

A vote matrix


davidaarmstrong/legR documentation built on Oct. 13, 2023, 1:08 p.m.