dotTripRanker: dotTripRanker

Description Usage Arguments Value Examples

View source: R/poker.R

Description

Determine the rank of the three of a kind. Note: dotTripRanker requires a hand with a score of 4 (i.e., three of a kind).

Usage

1
dotTripRanker(oneHand)

Arguments

oneHand

:

a sorted hand with ranks only as vector[7]
col1: rank of card 1 in {2, ... , 14}
col2: rank of card 2
.
.
.
col7: rank of card 7

Value

tripRank : the rank of the pair as vector

Examples

1
dotTripRanker(c(9,7,5,3,3,3,2))

poker documentation built on May 2, 2019, 3:45 a.m.

Related to dotTripRanker in poker...