means.to.etasq(mu.vector = c(0.50, 0), # marginal means
sd.vector = c(1, 1), # unadjusted standard deviation
n.vector = c(33, 33), # sample size (will be calculated)
k.cov = 1, # number of covariates
r.squared = 0.50)
Run the code above in your browser using DataLab