Description Usage Arguments Value Author(s) Examples
Calculates how many you have of the suit of which you have most.
1 | flushdraw1(x)
|
x |
Suits of your cards and the board cards (together, as a vector). |
returns the number you have of a suit, i.e. 4 if you have a flush draw, or 5 (or more) if you have a flush already.
Frederic Paik Schoenberg
1 2 3 4 5 6 7 8 9 10 11 | x = c(1,2,4,1,3,1,1)
flushdraw1(x)
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function(x){
a1 = mycount1(x)
max(a1$ct)
} ## end of flushdraw1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.