powered by
Determine the rank of the four of a kind and the kicker. This functions assumes ranks are sorted in decreasing order.
dotFourOfAKindRanker(oneHand)
:
# NOT RUN { dotFourOfAKindRanker(c(14,14,14,14,10,7,6)) dotFourOfAKindRanker(sort(c(10,14,6,14,7,14,14),decreasing=TRUE)) # }
Run the code above in your browser using DataLab