euchredeck: A Deck of Playing Cards for Euchre

Description Usage Arguments Details Value See Also Examples

Description

The title says it all.

Usage

1
euchredeck(benny= FALSE, makespace = FALSE)

Arguments

benny

logical.

makespace

logical.

Details

This is a conventional Euchre deck which uses a deck of 24 standard playing cards consisting of Ace, King, Queen, Jack, 10, and 9 of each of the four suits. If benny = TRUE then a Joker is added to the deck.

Value

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

See Also

cards, tosscoin, and roulette

Examples

1
2
euchredeck()
euchredeck(benny = TRUE, makespace = TRUE)

Example output

Loading required package: combinat

Attaching package: 'combinat'

The following object is masked from 'package:utils':

    combn

Loading required package: fAsianOptions
Loading required package: timeDate
Loading required package: timeSeries
Loading required package: fBasics


Rmetrics Package fBasics
Analysing Markets and calculating Basic Statistics
Copyright (C) 2005-2014 Rmetrics Association Zurich
Educational Software for Financial Engineering and Computational Science
Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
https://www.rmetrics.org --- Mail to: info@rmetrics.org
Loading required package: fOptions


Rmetrics Package fOptions
Pricing and Evaluating Basic Options
Copyright (C) 2005-2014 Rmetrics Association Zurich
Educational Software for Financial Engineering and Computational Science
Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
https://www.rmetrics.org --- Mail to: info@rmetrics.org
Loading required package: hypergeo
Loading required package: VGAM
Loading required package: stats4
Loading required package: splines

Attaching package: 'VGAM'

The following object is masked from 'package:hypergeo':

    is.zero

The following object is masked from 'package:fAsianOptions':

    erf


Attaching package: 'prob'

The following objects are masked from 'package:base':

    intersect, setdiff, union

   value    suit
1      9    Club
2     10    Club
3      J    Club
4      Q    Club
5      K    Club
6      A    Club
7      9 Diamond
8     10 Diamond
9      J Diamond
10     Q Diamond
11     K Diamond
12     A Diamond
13     9   Heart
14    10   Heart
15     J   Heart
16     Q   Heart
17     K   Heart
18     A   Heart
19     9   Spade
20    10   Spade
21     J   Spade
22     Q   Spade
23     K   Spade
24     A   Spade
   value    suit probs
1      9    Club  0.04
2     10    Club  0.04
3      J    Club  0.04
4      Q    Club  0.04
5      K    Club  0.04
6      A    Club  0.04
7      9 Diamond  0.04
8     10 Diamond  0.04
9      J Diamond  0.04
10     Q Diamond  0.04
11     K Diamond  0.04
12     A Diamond  0.04
13     9   Heart  0.04
14    10   Heart  0.04
15     J   Heart  0.04
16     Q   Heart  0.04
17     K   Heart  0.04
18     A   Heart  0.04
19     9   Spade  0.04
20    10   Spade  0.04
21     J   Spade  0.04
22     Q   Spade  0.04
23     K   Spade  0.04
24     A   Spade  0.04
25 Joker    <NA>  0.04

prob documentation built on May 2, 2019, 12:20 p.m.