ggBivTable | R Documentation |
Graph a table of relative conditional frequencies as odds or proportions
ggBivTable(table, type = "proportion", failures = 100, success = "")
table |
bivTable object. Note that this is NOT a data frame |
type |
"proportion" or "odds" |
failures |
Total number of failures (for odds only) |
success |
The level of the outcome variable that is a success |
bt <- bivTable(data = carData::GSSvocab, group = ageGroup, outcome = nativeBorn) ggBivTable(table = bt) ggBivTable(table = bt, type = "odds", success = "no", failures = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.