The `cards_tbl` dataset represents a standard deck of 52 playing cards. It includes information about the value, color, suit, and whether the card is a face card. The dataset name has been suffixed with `_tbl` to indicate that it is a tibble, ensuring clarity within the `sampledatasets` package.
Usage
data(cards_tbl)
Format
A tibble with 52 observations and 4 variables:
- value
Card value (factor with 13 levels: "2" to "10", "Jack", "Queen", "King", "Ace").
- color
Card color (factor with 2 levels: "black", "red").
- suit
Card suit (factor with 4 levels: "Clubs", "Diamonds", "Hearts", "Spades").
- face
Logical indicator (TRUE if the card is a face card, FALSE otherwise).