Cards | R Documentation |
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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.