powered by
A character vector with two or three character representations of each card in a standard 52-card deck.
Cards
The 2 of clubs is represented as "2C", while the 10 of diamonds is "10D".
if (require(mosaic)) { deal(Cards, 13) # bridge hand deal(Cards, 5) # poker hand shuffle(Cards) # shuffled deck }
Run the code above in your browser using DataLab