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".strict = TRUE then power for a two sided test will include the probability of rejection
in the opposite tail of the true effect. If strict = FApnormpower.z.test(sigma=6,effect=5,power=.9,test="one.tail")Run the code above in your browser using DataLab