title: Give row names to table in R
body: <p>I have a CSV file which somewhat looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/eUEGu.png" alt="enter image description here"></p>
  
  <p>I need to cluster "NoOffaces" and count how many datasets has 1 face, 2 face and so on.</p>
  
  <p>Here is what I did in <strong>R</strong>:</p>
  
  <pre><code>data&lt;-read.csv('test.csv')
  a&lt;-table(data$NoOffaces)
  a  #for printing a
  </code></pre>
  
  <p>And here is the output:</p>
  
  <pre><code> 0   1   2   3   4    5   6   7   8   9  10  14  15  19 
  448 375 104  33  16   7   4   2   2   3   1   3   1   1 
  </code></pre>
  
  <p>But, I want to give name to the first two rows so that it looks somewhat like this</p>
  
  <pre><code> Faces :0   1   2    3   4    5   6   7   8   9  10  14  15  19 
   Count :448 375 104  33  16   7   4   2   2   3   1   3   1   1 
  </code></pre>
  
  <p>I am not able to name the rows, also how to access the each value in the column?     </p>
  
  <p>I am a beginner in <strong>R</strong>, some help will be appreciated.    </p>
  
  <p>Thank you:)</p>