inst/snippet/test-coin-power02.R

prob <- c( seq(0,0.4, by=0.10), 0.45, 0.5, 0.55, seq(0.6,1, by=0.10) )
power <- pbinom(39,100,prob) + 1- pbinom(60,100,prob)
print(cbind(prob,power))

Try the fastR package in your browser

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

fastR documentation built on May 2, 2019, 5:53 p.m.