two_pairs: test for two pairs

View source: R/poker.R

two_pairsR Documentation

test for two pairs

Description

test for two pairs

Usage

two_pairs(x)

Arguments

x

a vector of cards

Examples

d = build_deck()
h1 = c(d[1], d[14], d[27], d[2], d[15])
h1
two_pairs(h1)

vjcitn/YESCDS documentation built on Oct. 30, 2024, 1:18 p.m.