dotTransformToRank: dotTransformToRank

Description Usage Arguments Value Examples

View source: R/poker.R

Description

Determine the rank of a card.

Usage

1

Arguments

y

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

Value

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

Examples

1
2
3
4

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