roulette | R Documentation |
Sets up a sample space for the experiment of spinning a roulette wheel once.
roulette(european = FALSE, makespace = FALSE)
european |
logical. Use a European roulette wheel with 37 pockets if |
makespace |
logical. Include a column of equally likely probabilities if |
If european
is TRUE
, then a traditional EU roulette wheel with 37 pockets is used, otherwise, a standard US roulette wheel with 38 pockets is used. Entries in the data frame are ordered in the customary way to facilitate the calculation probabilities regarding called bets.
A data frame, with columns num
and color
, and an equally likely probs
column if makespace
is TRUE
.
G. Jay Kerns gkerns@ysu.edu.
cards
roulette()
roulette(european = TRUE, makespace = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.