Identify the maximum vote earners, then randomly pick winner if there is a tie to break
1 | majority_vote(votes)
|
votes |
character or factor vector votes <- c("a","a","a","b","b","c") majority_vote(votes) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.