powered by
Power for detecting interaction effect in 2-way ANOVA.
powerInteract(nTotal, a, b, effsize, alpha = 0.05, nTests = 1)
number of observations in total
number of levels in factor 1
number of levels in factor 2
effect size
type I error rate
number of tests. (Family-wise type I error rate will be controlled based on Bonferroni's correction)
power
# NOT RUN { powerInteract(nTotal=50, a=2, b=3, effsize=1.5, alpha=0.05, nTests=1) # }
Run the code above in your browser using DataLab