title: Make a table of string frequency
body: <p>I am trying to make a summary table of many strings. My data looks like this:</p>
  
  <pre><code>x&lt;-c("a", "a", "b", "c", "c", "c", "d")
  </code></pre>
  
  <p>How would I analyse the recurrence of each string at once? Ideally to produce a table of frequency like this (I presume it would be easy to sort for decreasing frequency):</p>
  
  <pre><code>"a" 2
  "b" 1
  "c" 3
  "d" 1
  </code></pre>