View source: R/ggUniTable_old.R
ggUniTable_old | R Documentation |
Graph a table of relative marginal frequencies as odds or proportions
ggUniTable_old( ut, type = "proportion", total = 100, failures = 100, success = "" )
ut |
uniTable object. Note that this is NOT a data frame |
type |
"proportion" or "odds" |
total |
Total number of observations (for proportions only) |
failures |
Total number of failures (for odds only) |
success |
The level of the outcome variable that is a success |
ut <- uniTable(data = carData::Arrests, variable = employed) ggUniTable_old(ut = ut, total = 600) ggUniTable_old(ut = ut, type = "odds", success = "No", failures = 42)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.