title: ggplot2 boxplot from count table
body: <p>I have a count table that I have generated with another tool, and I would like to get a boxplot from it with ggplot2.</p>
  
  <p>For instance, suppose that I have:</p>
  
  <pre><code>df1 = data.frame(nSiblings = c(0, 1, 2), count = c(10, 15, 12))
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>df2 = data.frame(nSiblings = c(rep(0, 10), rep(1, 15), rep(2, 12)))
  </code></pre>
  
  <p>I know how to produce a boxplot from the second data frame:</p>
  
  <pre><code>qplot(y=df2$nSiblings, x=1, geom = "boxplot")
  </code></pre>
  
  <p>I know how to produce a histogram from the first data frame:</p>
  
  <pre><code>ggplot(df1, aes(x = nSiblings, y = count)) + geom_bar(stat = "identity")
  </code></pre>
  
  <p>But how can I get a boxplot from the first data frame?</p>