#Calculate the effecct size necessary to have the desired power .8 for a test
#with the level .5 with sample size 60, group centers 0, 1, and 2,
#normally distributed observations, evenly split among the three groups.
kweffectsize(60,c(0,1,2),"normal")
Run the code above in your browser using DataLab