ggUniTable | R Documentation |
Graph a table of relative marginal frequencies as odds or proportions
ggUniTable(t, type = "proportion", failures = 100, success = "")
t |
uniTable 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 |
ut <- uniTable(data = carData::Arrests, variable = employed) ggUniTable(t = ut) ggUniTable(t = ut, type = "odds", success = "No", failures = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.