# 10 means with a null probability of 0.5 each, 90% truly consistent:
grim_binomial_power(p0 = 0.50, p1 = 0.9, k = 10)
# The same with 30 means:
grim_binomial_power(p0 = 0.50, p1 = 0.9, k = 30)
# One null probability per value set:
grim_binomial_power(p0 = c(0.5, 0.7, 0.8, 0.9, 0.6, 0.5, 0.4), p1 = 0.9)
Run the code above in your browser using DataLab