anm.die {asbio}R Documentation

Animated depiction of six-sided die throws.

Description

Convergence in probability for fair (or loaded) six-sided die.

Usage


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()

Arguments

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.

Author(s)

Ken Aho

See Also

anm.coin

Examples

## Not run: 
anm.die()

## End(Not run)

[Package asbio version 1.9-7 Index]