cards {prithulib}R Documentation

Choosing a card

Description

An event of choosing a card from a pack of 52 cards (Joker optional)

Usage

cards(n, joker = FALSE)

Arguments

n

is the number of cards to be chosen (default 1)

joker

TRUE includes the Joker card in the deck (default FALSE)

Value

The chosen card(s)

Author(s)

Prithul Chaturvedi

Examples

cards(3, joker = TRUE)

[Package prithulib version 1.0.2 Index]