inst/snippets/helper.R

Rand.toys <- do(5000) * rflip(16, .5)
head(Rand.toys, 3)
2 * prop( ~ (prop >= p.hat), data = Rand.toys)
histogram(~prop, data = Rand.toys, width=1/16)

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.