Evaluate the rank category of a five card poker hand.
Examples
deck <- new_deck_df()
(hand <- deal_hand_df(deck))
#> rank suit
#> 13 A C
#> 2 3 C
#> 43 5 S
#> 50 Q S
#> 5 6 C
eval_hand_df(hand)
#> [1] "high_card"
Evaluate the rank category of a five card poker hand.
deck <- new_deck_df()
(hand <- deal_hand_df(deck))
#> rank suit
#> 13 A C
#> 2 3 C
#> 43 5 S
#> 50 Q S
#> 5 6 C
eval_hand_df(hand)
#> [1] "high_card"