title: Violin Plot (geom_violin) with aggregated values
body: <p>I would like to create violin plots with aggregated data. My data has a category, a value coloumn and a count coloumn:</p>
  <pre><code>data &lt;- data.frame(category = rep(LETTERS[1:3],3),
                     value = c(1,1,1,2,2,2,3,3,3),
                     count = c(3,2,1,1,2,3,2,1,3))
  </code></pre>
  <p>If I create a simple violin plot it looks like this:</p>
  <pre><code>plot &lt;- ggplot(data, aes(x = category, y = value)) + geom_violin()
  plot
  </code></pre>
  <p><a href="https://i.stack.imgur.com/h4kCM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h4kCM.png" alt="" /></a><br />
  <sub>(source: <a href="http://www.ahschulz.de/pub/overflow/violin_plot.png" rel="nofollow noreferrer">ahschulz.de</a>)</sub></p>
  <p>That is not what I wanted. A solution would be to reshape the dataframe by multiplying the rows of each category-value combination. The problem is that my counts go up to millions which takes hours to be plotted! :-(</p>
  <p>Is there a solution with my data?</p>
  <p>Thanks in advance!</p>