powered by
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()
anm.die.tck()
Number of die throws.
Animation interval in frames per second.
Logical, indicating whether die outcomes should be shown.
A vector of length six which sums to one indicating the probability of die outcomes.
Logical, Indicating whether or not color should be used.
Ken Aho
anm.coin
if (FALSE) { anm.die() }
Run the code above in your browser using DataLab