normal_outcome: Parameters for treatment and control in continuous (normally...

Description Usage Arguments Value Examples

View source: R/normal.R

Description

Wrapper function for mean and standard deviation with continuous (normally distributed) outcome.

Usage

1
2
3
4
5
6
7
normal_outcome(
  mu_control = NULL,
  sd_control = NULL,
  mu_treatment = NULL,
  sd_treatment = NULL,
  .data = NULL
)

Arguments

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.

Value

A list with means and standard deviations for control and treatment groups.

Examples

1
2
normal_outcome(mu_control = 12, mu_treatment = 8,
               sd_treatment = 2.2, sd_control = 1.6)

thevaachandereng/BACT documentation built on July 24, 2020, 2:35 a.m.