| cards | R Documentation |
Deck of cards
Description
All the cards in a standard deck.
Usage
cards
Format
A data frame with 52 observations on the following 4 variables.
- value
a factor with levels
1023456789AJKQ- color
a factor with levels
blackred- suit
a factor with levels
ClubDiamondHeartSpade- face
a logical vector
Examples
table(cards$value)
table(cards$color)
table(cards$suit)
table(cards$face)
table(cards$suit, cards$face)