binCompare | R Documentation |
Graph conditional statistics for a binary outcome and discrete X variable.
binCompare(bt, success, type)
bt |
a bivTable object where compare = TRUE |
success |
the level of the outcome you want to graph |
type |
= rrd, rrr, or or |
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.