Create a summary table for a two-sample proportion test
Arguments
- data
A data frame (or tibble).
- formula
The variables to run the test on, in formula syntax,
var1 ~ var2
.- success
The data value that constitutes a "success".
- digits
The number of digits to round table values to. Defaults to 3.
- conf_lvl
The confidence level of the interval, entered as a value between 0 and 1. Defaults to 0.95.
An override to the table caption. A sensible default is provided.
- p0
THe null hypothesis value. Defaults to 0.5.