dotFullHouseRanker: dotFullHouseRanker

Description Usage Arguments Value Examples

View source: R/poker.R

Description

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

Usage

1

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
.
.
.
col7: rank of card 7

Value

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

Examples

1
2
3
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))

poker documentation built on Aug. 9, 2017, 9:03 a.m.