powered by
Wrapper function for mean and standard deviation with normal outcome.
normal_outcome( mu_control = NULL, sd_control = NULL, mu_treatment = NULL, sd_treatment = NULL, data = NULL )
numeric. The mean for the control group.
numeric. The standard deviation for the control group.
numeric. The mean for the treatment group.
numeric. The standard deviation for the treatment group.
NULL. stores the proportion of control and treatment, please do not fill it in.
a list with proportion of control and treatment group.
# NOT RUN { normal_outcome(mu_control = 12, mu_treatment = 8, sd_treatment = 2.2, sd_control = 1.6) # }
Run the code above in your browser using DataLab