binCompare: Graph conditional statistics for a binary outcome and...

View source: R/binCompare.R

binCompareR Documentation

Graph conditional statistics for a binary outcome and discrete X variable.

Description

Graph conditional statistics for a binary outcome and discrete X variable.

Usage

binCompare(bt, success, type)

Arguments

bt

a bivTable object where compare = TRUE

success

the level of the outcome you want to graph

type

= rrd, rrr, or or

Examples

library(carData)
library(soc429Code)
bt <- bivTable(Greene, language, decision, compare = TRUE, baseline = "China")
binCompare(bt, success = "yes", type = "or")
binCompare(bt, success = "yes", type = "rrd")

prox9974/soc429Code documentation built on June 16, 2022, 3:41 a.m.