Description Usage Arguments Value See Also Examples
Determine the player with the highest boat.
1 | dotFullHouse(cards, score)
|
cards |
:
| ||||||||||||||||||||
score |
:
|
winner : absolute position of the winner as vector
1 2 3 4 5 6 7 8 9 10 11 | cards <- c(5,10,4,8,1,2,1,1,10,9,6,7,3,2,2,2,5,5,5,5,3,3,3,3,8,8,8,8,3,3,3,3)
cards <- c(cards,14,14,14,14,2,2,2,2,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
dotFullHouse(cards,score)
cards <- c(5,10,4,8,1,2,1,1,10,9,6,7,3,2,2,2,12,12,12,12,1,1,1,1,12,12,12,12,3,3,3,3)
cards <- c(cards,14,14,14,14,2,2,2,2,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
dotFullHouse(cards,score)
|
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
[1,] 5 1 10 3 5 3 8 3 14 2 14 3 14 4
[2,] 10 2 9 2 5 3 8 3 14 2 14 3 14 4
[3,] 4 1 6 2 5 3 8 3 14 2 14 3 14 4
[4,] 8 1 7 2 5 3 8 3 14 2 14 3 14 4
[1] 7 4 4 7
[1] 4
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14]
[1,] 5 1 10 3 12 1 12 3 14 2 14 3 14 4
[2,] 10 2 9 2 12 1 12 3 14 2 14 3 14 4
[3,] 4 1 6 2 12 1 12 3 14 2 14 3 14 4
[4,] 8 1 7 2 12 1 12 3 14 2 14 3 14 4
[1] 7 7 7 7
[1] 1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.