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] "4D"  "QS"  "QC"  "9S"  "4S"  "5C"  "6D"  "8C"  "AS"  "2D"  "3H"  "10D"
#> [13] "JH"  "6C"  "4H"  "9C"  "10H" "3C"  "5H"  "2C"  "KD"  "AH"  "8S"  "4C" 
#> [25] "7H"  "AD"  "9D"  "KC"  "KS"  "8H"  "6S"  "JD"  "10C" "2H"  "10S" "6H" 
#> [37] "QD"  "3S"  "AC"  "KH"  "7S"  "8D"  "5S"  "JS"  "JC"  "7D"  "3D"  "QH" 
#> [49] "7C"  "2S"  "9H"  "5D"