cards: A Standard Set of Playing Cards

Description Usage Arguments Details Value See Also Examples

Description

The title says it all.

Usage

1
cards(jokers = FALSE, makespace = FALSE)

Arguments

jokers

logical.

makespace

logical.

Details

This generates a data frame sample space of a standard deck of 52 playing cards. Optionally, the user can specify that Jokers be included, which have a rank but with suit a missing value.

Value

A data frame with columns rank and suit, and optionally a column of equally likely probs.

See Also

rolldie, tosscoin, and roulette

Examples

1
2
cards()
cards(makespace = TRUE)

GabauerDavid/WVPU documentation built on June 1, 2019, 3:52 a.m.