title: Plot table objects with ggplot?
body: <p>I've got this data:</p>
  
  <pre><code>         No    Yes
  Female  411   130
  Male    435   124
  </code></pre>
  
  <p>which was created using the standard table command. Now with plot I can plot this as such:</p>
  
  <p><code>plot(table(df$gender, df$fraud))</code></p>
  
  <p>and it then outputs a 2x2 bar chart. </p>
  
  <p>So my question is, how can I do this with ggplot2? Is there any way with out transforming the table-object to a data frame? I would do that, but it becomes a mess and you then need to rename column and row headers and it just becomes a mess for what is really a quite simple thing?</p>