outs_tp: Outs to make a Two Pair

Description Usage Arguments Value

View source: R/outs_tp.R

Description

Outs to make a Two Pair

Usage

1
outs_tp(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 Two Pair or a vector of cards that complete a Two Pair. 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.