Description Usage Arguments Value Examples
test for one pair
1 | one_pair(x)
|
x |
a vector of cards |
logical(1)
1 2 3 4 5 6 7 | d = build_deck()
hand_1 = c(d[1], d[14], d[2:4] )
hand_1
one_pair(hand[1])
hand_2 = c(d[1], d[6], d[2:4] )
hand_2
one_pair(hand[2])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.