Function to resolve ties between competitors.
resolveTies(data, contestants, column)
dataset with competitors as rows and judges as columns
vector with which contestant numbers to resolve ties for
column of the dash matrix to begin with
A list:
method by which winner was found
vector with whom the winners were
# NOT RUN { resolveTies(testdata, c(1,2), 1) # }
Run the code above in your browser using DataLab