Rdice: A Collection of Functions to Experiment Dice Rolls

A collection of functions to simulate dice rolls and the like. In particular, experiments and exercises can be performed looking at combinations and permutations of values in dice rolls and coin flips, together with the corresponding frequencies of occurrences. When applying each function, the user has to input the number of times (rolls, flips) to toss the dice. Needless to say, the more the tosses, the more the frequencies approximate the actual probabilities. Moreover, the package provides functions to generate non-transitive sets of dice (like Efron's) and to check whether a given set of dice is non-transitive with given probability.

Author
Gennaro Tedesco
Date of publication
2016-09-24 12:58:32
Maintainer
Gennaro Tedesco: <gennarotedesco@gmail.com>
License
GPL-2
Version
1.0.0

View on CRAN

Man pages

coin_flip
Coin flip
dice_combinations
Dice combinations
dice_roll
Dice simulator
efron
The standard set of Efron's dice
is.nonTransitive
Checks truth value of non-transitive sets of dice.
miwin
Miwin set of dice.
nonTransitive.generator
Non-transitive dice generator.
oskar
Oskar van Deventer set of dice.

Files in this package

Rdice
Rdice/inst
Rdice/inst/doc
Rdice/inst/doc/Rdice-vignette.R
Rdice/inst/doc/Rdice-vignette.pdf
Rdice/inst/doc/Rdice-vignette.Rmd
Rdice/NAMESPACE
Rdice/data
Rdice/data/efron.rda
Rdice/data/oskar.rda
Rdice/data/miwin.rda
Rdice/R
Rdice/R/efronData.R
Rdice/R/nonTransitive.R
Rdice/R/oskarData.R
Rdice/R/miwinData.R
Rdice/R/dice_combinations.R
Rdice/R/dice_roll.R
Rdice/R/coin_flip.R
Rdice/vignettes
Rdice/vignettes/Rdice-vignette.html
Rdice/vignettes/Rdice-vignette.Rmd
Rdice/README.md
Rdice/MD5
Rdice/build
Rdice/build/vignette.rds
Rdice/DESCRIPTION
Rdice/man
Rdice/man/coin_flip.Rd
Rdice/man/is.nonTransitive.Rd
Rdice/man/dice_roll.Rd
Rdice/man/miwin.Rd
Rdice/man/oskar.Rd
Rdice/man/dice_combinations.Rd
Rdice/man/efron.Rd
Rdice/man/nonTransitive.generator.Rd