Learn R Programming

poker (version 0.8.8)

dotFullHouseRanker: dotFullHouseRanker

Description

Determine the rank of the top set and the top pair.

Usage

dotFullHouseRanker(oneHand)

Arguments

oneHand

:

the ranks of one 7 card hand as vector[7]
col1: rank of card 1 in {2, ... , 14}
col2: rank of card 2
.
.
.

Value

fullHouseRank : the ranks of the high set and the high pair as vector
col1: the rank of the top set

Examples

Run this code
# NOT RUN {
dotFullHouseRanker(c(2,2,2,5,5,8,9))
dotFullHouseRanker(c(2,2,5,5,5,8,9))
dotFullHouseRanker(c(2,2,5,5,5,8,8))
# }

Run the code above in your browser using DataLab