anm.die | R Documentation |
Convergence in probability for fair (or loaded) six-sided die.
anm.die(reps = 300, interval = 0.1, show.die = TRUE, p = c(1/6, 1/6, 1/6,
1/6, 1/6, 1/6), cl = TRUE)
anm.die.tck()
reps |
Number of die throws. |
interval |
Animation interval in frames per second. |
show.die |
Logical, indicating whether die outcomes should be shown. |
p |
A vector of length six which sums to one indicating the probability of die outcomes. |
cl |
Logical, Indicating whether or not color should be used. |
Ken Aho
anm.coin
## Not run:
anm.die()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.