Rdice: A Collection of Functions to Experiment Dice Rolls
Version 1.0.0

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.

AuthorGennaro Tedesco
Date of publication2016-09-24 12:58:32
MaintainerGennaro Tedesco: <gennarotedesco@gmail.com>
LicenseGPL-2
Version1.0.0
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("Rdice")

Getting started

README.md
Rdice-vignette

Popular man pages

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.
See all...

All man pages Function index File listing

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.

Functions

Files

inst
inst/doc
inst/doc/Rdice-vignette.R
inst/doc/Rdice-vignette.pdf
inst/doc/Rdice-vignette.Rmd
NAMESPACE
data
data/efron.rda
data/oskar.rda
data/miwin.rda
R
R/efronData.R
R/nonTransitive.R
R/oskarData.R
R/miwinData.R
R/dice_combinations.R
R/dice_roll.R
R/coin_flip.R
vignettes
vignettes/Rdice-vignette.html
vignettes/Rdice-vignette.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/coin_flip.Rd
man/is.nonTransitive.Rd
man/dice_roll.Rd
man/miwin.Rd
man/oskar.Rd
man/dice_combinations.Rd
man/efron.Rd
man/nonTransitive.generator.Rd
Rdice documentation built on May 19, 2017, 2:51 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.