dotTransformToAbsolute: dotTransformToAbsolute

Description Usage Arguments Value Examples

View source: R/poker.R

Description

Transform a relative position (i.e., seats behind the dealer) into an absolute position (i.e., seat at the table).

Usage

1
dotTransformToAbsolute(nPlayers, position, k)

Arguments

nPlayers

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

position

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

k

relative position of a player as integer in {1, 2, ... , nPlayers}

Value

j : absolute position of a player as integer in {1, 2, ... , nPlayers}

Examples

1
2
3
4

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