powered by
Returns the rank of the highest card in the straight.
dotStraightRanker(oneHand)
:
straightRank : the rank of top card in the straight as integer
# NOT RUN { dotStraightRanker(c(2,3,4,5,6,9,10)) dotStraightRanker(c(2,3,3,4,5,6,10)) dotStraightRanker(c(2,3,4,5,6,7,10)) # }
Run the code above in your browser using DataLab