dotTransformToNumber: dotTransformToNumber

Description Usage Arguments Value Examples

View source: R/poker.R

Description

Determine the card from a rank and suit.

Usage

1

Arguments

rank

:

rank of card y as integer in {2, ... , 14}
2 = deuce
.
.
.
11 = jack
12 = queen
13 = king
14 = ace
suit

:

suit of card y as integer in {1, 2, 3, 4}
1 = spade
2 = club
3 = heart
4 = diamond

Value

y: number corresponding to card as integer in {1, 2, ... , 52}

Examples

1
2
3
4

poker documentation built on May 2, 2019, 3:45 a.m.