powered by
Determine the player(s) with the high card.
dotHighcardCompare(rankMatrix)
:
winner : absolute position of the winner as vector
# NOT RUN { dotHighcardCompare(matrix(c(2,4,5,6,7,13,14,2,3,5,6,7,13,14),2,7,byrow=TRUE)) dotHighcardCompare(matrix(c(2,3,5,6,7,13,14,2,3,5,6,7,13,14),2,7,byrow=TRUE)) # }
Run the code above in your browser using DataLab