Amend ballots with equal or incomplete preferences
correct.ranking.Rd
The correct.ranking
function returns a modified set of ballots. Its
argument partial
determines if ballots are partially set to 0
(TRUE
),
or if it is a complete re-ranking, as allowed when equal.ranking = TRUE
. It
can be used by calling it explicitly. It is called by stv
if equal.ranking = TRUE
or invalid.partial = TRUE
. It is also called from within the
condorcet
function with the default value (FALSE
) for partial
, i.e.
interpreting any 0
as a last= preference.