title: How to create a bar plot in R
body: <p>I've got the following data and want to create a single barplot in R to investigate the differences between different customer types(business and private). How can I write the code? ( the x-axis is year 1, year2,etc; the y axis just denotes different numbers, so that we can see in a certain year, the differences between the numbers of business&amp;private, with coloured bars). Thank you !</p>
  
  <pre><code>            year1 year2 year3 year4 year5
  business      114    92    22     8     4     
  private       368   376    76    32     4      
  </code></pre>