inst/snippets/Figure4.12.R

RandomizationDist <- do(1000) * rflip(10, .5)  # 10 because n = 10
head(RandomizationDist)
histogram( ~ prop, label = TRUE, width = 1/10, data = RandomizationDist)

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.