anm.die {asbio} | 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
## Not run: anm.die() ## End(Not run)