compareBinary: compareBinary

View source: R/BMisc.R

compareBinaryR Documentation

compareBinary

Description

Legacy version of 'compare_binary', please use that function instead. This function will eventually be deleted.

Usage

compareBinary(
  x,
  on,
  dta,
  w = rep(1, nrow(dta)),
  report = c("diff", "levels", "both")
)

Arguments

x

variables to run regression on

on

binary variable

dta

the data to use

w

weights

report

which type of report to make; diff is the difference between the two variables by group


bcallaway11/BMisc documentation built on Feb. 4, 2025, 10:43 p.m.