Description Usage Arguments Value Examples
Wrapper function for proportion of an event in control and treatment group with binomial outcome.
| 1 | binomial_outcome(p_treatment = NULL, p_control = NULL, .data = NULL)
 | 
| 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. | 
A list with proportion of control and treatment group.
| 1 | binomial_outcome(p_control = 0.12, p_treatment = 0.08)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.