| cards | R Documentation |
All the cards in a standard deck.
cards
A data frame with 52 observations on the following 4 variables.
a factor with levels 10 2 3 4
5 6 7 8 9 A J K
Q
a factor with levels black red
a factor with levels Club Diamond Heart Spade
a logical vector
table(cards$value)
table(cards$color)
table(cards$suit)
table(cards$face)
table(cards$suit, cards$face)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.