title: Get a histogram plot of factor frequencies (summary)
body: <p>I've got a factor with many different values. If you execute <code>summary(factor)</code> the output is a  list of the different values and their frequency. Like so:</p>
  
  <pre><code>A B C D
  3 3 1 5
  </code></pre>
  
  <p>I'd like to make a histogram of the frequency values, i.e. X-axis contains the different frequencies that occur, Y-axis the number of factors that have this particular frequency. What's the best way to accomplish something like that?</p>
  
  <p>edit: thanks to the answer below I figured out that what I can do is get the factor of the frequencies out of the table, get that in a table and then graph that as well, which would look like (if <code>f</code> is the factor):</p>
  
  <pre><code>plot(factor(table(f)))
  </code></pre>