one_pair | R Documentation |
test for one pair
one_pair(x)
x |
a vector of cards |
logical(1)
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.