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

greenspb/poker documentation built on May 6, 2019, 9:50 p.m.