inst/snippets/Example4.13.R

Randomization.Match <- 
  do(10000) * rflip(25, .5)  # 25 because n = 25
head(Randomization.Match)
histogram( ~ prop, width = 0.04, data = Randomization.Match)

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.