deal: deal

Description Usage Arguments Value Examples

View source: R/poker.R

Description

Generate Player+Community cards = 2x(nPlayers)+5 cards.

Usage

1
deal(nPlayers, position)

Arguments

nPlayers

number of hands to deal as integer in {2, ... , 9}

position

dealer position as integer in {2, ..., nPlayers}

Value

y : cards dealt in hole as vector[nCards] in {1, 2, ..., 52}

Examples

1
2
deal(9,9)
deal(9,1)

poker documentation built on Aug. 9, 2017, 9:03 a.m.

Related to deal in poker...