Description Usage Arguments Value See Also Examples
Determine the player(s) with the highest two pairs and kicker card.
1 | dotTwoPairs(nPlayers, cards, score)
|
nPlayers |
number of hands as integer in {2, ... , 9} | ||||||||||||||||||||
cards |
:
| ||||||||||||||||||||
score |
:
|
winner : absolute position of the winner as vector
dotTwoPairRanker
and dotHighcardCompare
1 2 3 4 5 6 | cards <- c(2,3,4,5,1,1,1,1,2,3,6,7,2,2,2,2,4,4,4,4,3,3,3,3,11,11,11,11,3,3,3,3)
cards <- c(cards,13,13,13,13,3,3,3,3,14,14,14,14,3,3,3,3,14,14,14,14,4,4,4,4)
cards <- matrix(cards,nrow=4,ncol=14); cards
score <- showdown(cards); score
nPlayers <- nrow(cards); nPlayers
dotTwoPairs(nPlayers,cards,score)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.