binomial_outcome: Proportion of an event in control and treatment

Description Usage Arguments Value Examples

View source: R/binomial.R

Description

Wrapper function for proportion of an event in control and treatment group with binomial outcome.

Usage

1
binomial_outcome(p_treatment = NULL, p_control = NULL, .data = NULL)

Arguments

p_treatment

numeric. The proportion of an event in the treatment group, 0 < $p_treatment$ < 1.

p_control

numeric. The proportion of an event in the control group, 0 < $p_control$ < 1.

.data

NULL. Stores the proportion of control and treatment. Should not be edited by the user.

Value

A list with proportion of control and treatment group.

Examples

1
binomial_outcome(p_control = 0.12, p_treatment = 0.08)

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