R/normal.R
normal_outcome.Rd
Wrapper function for mean and standard deviation with continuous (normally distributed) outcome.
normal_outcome( mu_control = NULL, sd_control = NULL, mu_treatment = NULL, sd_treatment = NULL, .data = NULL )
mu_control | numeric. The mean for the control group. |
---|---|
sd_control | numeric. The standard deviation for the control group. |
mu_treatment | numeric. The mean for the treatment group. |
sd_treatment | numeric. The standard deviation for the treatment group. |
.data | NULL. Stores the normal data for analysis. Should not be edited by the user. |
A list with means and standard deviations for control and treatment groups.
normal_outcome(mu_control = 12, mu_treatment = 8, sd_treatment = 2.2, sd_control = 1.6)#> $mu_control #> [1] 12 #> #> $sd_control #> [1] 1.6 #> #> $mu_treatment #> [1] 8 #> #> $sd_treatment #> [1] 2.2 #>