powered by
Compare Rates Within Groups
compare_rates_within_groups( data, x, y, conf_level = 0.95, input, output = "console" )
results
data
var 1
var 2
Confidence level
input type currently only accepts "wide"
Default is "console", also accepts "tibble"
A <- c(1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1) B <- c(0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0) data <- data.frame(A, B) compare_rates_within_groups(data, A, B, input = "wide")
Run the code above in your browser using DataLab