inst/snippets/flip4.R

Flips <- do(10000) * rflip(10)
tally(~heads, data = Flips)
tally(~heads, data = Flips, format = 'percent')
tally(~heads, data = Flips, format = 'proportion')

Try the Lock5withR package in your browser

Any scripts or data that you put into this service are public.

Lock5withR documentation built on May 2, 2019, 3:43 p.m.