flip_coin.RdUseful for demonstrating the Law of Large Numbers
flip_coin(flips = 100L, seed = sample.int(.Machine$integer.max, 1))
| flips | an integer (defaults to 100) | 
|---|---|
| seed | random number seed | 
ggplot object
Lawrence R. De Geest
# Flip a coin 1000 times and plot the probabilities of Heads and Tails: flip_coin(flips = 1000)