powered by
Summarizes descriptive statistics for binomial variables
summary_binomial(x, ...)
A tibble with descriptive statistics containing the following columns:
Character vector specifying the name of each variable.
Character vector combining the reference level of a variable with its frequency count and its percentage.
Data frame, matrix, or vector containing binomial variables.
Additional arguments passed to print_binomial.
print_binomial
x <- data.frame(A = sample(c("X", "Y"), 100, replace = TRUE)) summary_binomial(x) summary_binomial(x, digits = 2, width = 5)
Run the code above in your browser using DataLab