outs_fk: Outs to make a Four of a Kind

Description Usage Arguments Value

View source: R/outs_fk.R

Description

Outs to make a Four of a Kind

Usage

1
outs_fk(cards, stage, output = "counts")

Arguments

cards

Cards from hand, including pocket cards and all community cards

stage

What part of deal was just performed, "flop" or "stage"?

output

IN PROGRESS. Should function return number of outs ("counts") or the cards themselves ("cards")

Value

Either counts of cards that can make a Four of a Kind or a vector of cards that complete a Four of a Kind. If a data.frame is input, the output is the same length as number of rows.


cmaerzluft/TexasHoldEm documentation built on June 11, 2021, 2:46 p.m.