binary_diff: Binary Difference in Proportions

View source: R/binary_diff.R

binary_diffR Documentation

Binary Difference in Proportions

Description

Default comparison function for binary data.

Usage

binary_diff(dt, num_col, reference, digits)

Arguments

dt

the name of the dataframe object.

num_col

the number of categorical columns in the data.

reference

the name of the reference row category to use.

digits

significant digits to use.

Value

A dataframe with difference in proportions test results between pairs of columns for binary data, as well as an overall chi-squared test across all groups.


thomasgstewart/tangram.pipe documentation built on Aug. 18, 2022, 8:41 p.m.