A character vector with two or three character representations of each card in a standard 52-card deck.

Cards

Details

The 2 of clubs is represented as "2C", while the 10 of diamonds is "10D".

Examples

if (require(mosaic)) {
  deal(Cards, 13)        # bridge hand
  deal(Cards, 5)         # poker hand
  shuffle(Cards)         # shuffled deck
}
#>  [1] "KD"  "10D" "5S"  "8C"  "7H"  "7C"  "10C" "KS"  "JC"  "10S" "9H"  "5D" 
#> [13] "7S"  "6H"  "2C"  "9S"  "4S"  "KH"  "AS"  "9C"  "10H" "KC"  "7D"  "3H" 
#> [25] "4H"  "4D"  "QC"  "4C"  "3C"  "JD"  "6S"  "JH"  "QH"  "5C"  "2S"  "QS" 
#> [37] "JS"  "8D"  "3D"  "9D"  "8S"  "QD"  "8H"  "3S"  "5H"  "AH"  "6D"  "2H" 
#> [49] "AD"  "2D"  "AC"  "6C"