title: manipulate data with multiple values in the cell in r
body: <p>I have a data-set looks like </p>
  
  <pre><code>universityies &lt;- c("UNI.1;UNI.1;UNI.2;UNI.3","UNI.5", "UNI.3;UNI.4"  )
  papers &lt;- c(1,1,1)
  cited &lt;- c(10,5,20)
  
  df &lt;- data.frame(universityies, papers, cited )
  df
  </code></pre>
  
  <p>and I want to get something like</p>
  
  <pre><code>       #total papers  total cited
  #UNI.1   1              10  
  #UNI.2   1              10 
  #UNI.3   2              30
  #UNI.4   1              20
  #UNI.5   1              5
  </code></pre>
  
  <p>many thanks in advance,</p>