title: How to add label in table() in R
body: <p>I want to print 2*2 confusion matrix and label it. I am using <code>table()</code> in r.</p>
  
  <p><img src="https://i.stack.imgur.com/ASvZl.png" alt="Please click this to see the table"></p>
  
  <p>I want to add predicted and Reality label . Can anybody suggest me , how can I do it?</p>