power.z.test(sigma = 1, n = NULL, power = NULL, alpha = 0.05, effect = NULL,
test = c("two.tail", "one.tail"), strict = FALSE)power is specified.n is specified."two.tail" or "one.tail".pnormpower.z.test(sigma=6,effect=5,power=.9,test="one.tail")Run the code above in your browser using DataLab