blinds: Add the Big/Small blinds to a vector.

Description Usage Arguments Value

View source: R/blinds.R

Description

Add the Big/Small blinds to a vector.

Usage

1
blinds(players, bets, start)

Arguments

players

A list of elements from the S4 class "player".

bets

A vector representing each player's total contribution to the pot.

start

The index of the player who is due to act first.

Value

A list of double the length of players. The first half of the list is a list of players. The second half is a list of the bets.


dfcorbin/pokersim2 documentation built on Jan. 15, 2020, 12:20 a.m.