Description Usage Arguments Value See Also Examples
Determine the player with the highest flush.
1 | dotFlush(cards, score)
|
cards |
:
| ||||||||||||||||||||
score |
:
|
winner : absolute position of the winner as vector
dotFlushRanker
and dotHighcardCompare
1 2 3 4 5 6 7 8 9 | cards <- c(2,1,3,3,5,2,6,3,7,3,13,3,14,3,2,3,3,4,5,1,6,3,7,3,13,3,14,3)
cards <- matrix(cards,2,14,byrow=TRUE); cards
score <- showdown(cards); score
dotFlush(cards,score)
cards <- c(2,1,3,3,5,3,6,3,7,3,13,3,14,3,2,3,3,4,5,3,6,3,7,3,13,3,14,3)
cards <- matrix(cards,2,14,byrow=TRUE);cards
score <- showdown(cards); score
dotFlush(cards,score)
|
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
[1,] 2 1 3 3 5 2 6 3 7 3 13 3 14 3
[2,] 2 3 3 4 5 1 6 3 7 3 13 3 14 3
[1] 6 6
[1] 1
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
[1,] 2 1 3 3 5 3 6 3 7 3 13 3 14 3
[2,] 2 3 3 4 5 3 6 3 7 3 13 3 14 3
[1] 6 6
[1] 1 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.