Creates a bar chart of categorical variable probabilities with bars reflecting the probability of category membership for each category of the observed variable.
An object for which a method exists
A character vectors with the names of the variables to be plotted (optional).
Atomic character, indicating what separate bars represent. One of `c("Variable", "group", "class")`.
Atomic character, indicating what separate facets represent. One of `c("group", "class", "Variable")`.
Logical. Should the plot be black and white (for print), or color?
Arguments passed to and from other functions.
An object of class 'ggplot'.