powered by
Determine the ranks of the two pairs. Notes: dotTwoPairRanker requires a hand with a score of 3 (i.e., two pairs). This functions works best when ranks are sorted in decreasing order.
dotTwoPairRanker(oneHand)
:
pairRank : the rank of the pair as vector
# NOT RUN { dotTwoPairRanker(c(9,7,5,3,3,2,2)) dotTwoPairRanker(c(9,5,5,3,3,2,2)) # }
Run the code above in your browser using DataLab