Compute power of test or determine parameters to obtain target power (same as power.anova.test).
degrees of freedom for numerator
effect size
Significance level (Type I error probability)
Power of test (1 minus Type II error probability)
Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Hillsdale,NJ: Lawrence Erlbaum.