full_house | R Documentation |
test for full house
full_house(x)
x |
a vector of cards |
d = build_deck()
h1 = c(d[1], d[14], d[27], d[2], d[15])
h1
full_house(h1)
h2 = c(d[1], d[14], d[27], d[2], d[16])
h2
full_house(h2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.