Learn R Programming

holdem (version 1.2)

Texas Holdem Simulator

Description

Simulates hands and tournaments of Texas Holdem, the most popular form of poker. For examples of probability problems involving Texas Holdem and a brief explanation of the game see Schoenberg, F. (2011). An Introduction to Probability with Texas Hold'em Examples. Taylor and Francis, New York, ISBN-13: 978-1439827680.

Copy Link

Version

Install

install.packages('holdem')

Monthly Downloads

21

Version

1.2

License

GPL-2

Maintainer

Frederic Schoenberg

Last Published

August 28th, 2017

Functions in holdem (1.2)

flush1

See if you have a flush
flushdraw1

Sees if you have a flush draw.
bid1

Preflop bidding
bid2

Postflop bidding
gravity

A sample function that goes all in or folds
hand1

Play a hand of Texas Hold'em
four1

Sees if you have 4 of a kind
full1

See if you have a full house.
calcwin1

Figure out who won the hand.
deal1

Deals the cards.
many1

function to run many Texas Hold'em tournaments.
mycount1

counts the unique values in a vector
tommy

A sample function that goes all in or folds
tourn1

Run a Texas Hold'em tournament
mygraphics1

Graphically show a poker hand
nothing1

indicates strength of your hand when you have nothing
ursula

A sample function that goes all in or folds
vera

A sample function that goes all in or folds
xena

A sample function that goes all in or folds
yosef

A sample function that does not necessarily goes all in or fold.
onepair1

See if you have a pair.
straight1

See if you have a straight.
trip1

See if you have 3 of a kind.
twopair1

See if you have two pairs.
zelda

A sample function that does not necessarily go all in or fold.
handeval

Evaluates your hand.
holdem-package

Simulates Texas Hold'em hands and tournaments
william

A sample function that goes all in or folds
writebets1

Write the bets on the plot
straightdraw1

See if you have a straight draw.
strflsh1

See if you have a straight flush.
switch2

Finds the cards corresponding to numbers between 1 and 52.
timemachine

A sample function that goes all in or folds