powered by
sim.flips(n, prob=.5, show.title=TRUE, show.flips=TRUE, col.grid="grey90", pause=FALSE)
rbinom
# 10 flips of a fair coin sim.flips(10, .5)
Run the code above in your browser using DataLab