title: Multiple duplicates (2 times, 3 times,...) in R
body: <p>After searching for a while, I know that this question has not been answered yet. Assume that I have the following vector</p>
  
  <p><code>v &lt;- c("a", "b", "b", "c","c","c", "d", "d", "d", "d")</code></p>
  
  <p>How do I find those values having more than 1 duplicates</p>
  
  <p>(should be <code>"c","c","c", "d", "d", "d", "d")</code></p>
  
  <p>and more than 2 duplicates</p>
  
  <p>(should be <code>"d", "d", "d", "d"</code>)</p>
  
  <p>Function <code>duplicated(v)</code> only returns values having duplicates. </p>